System::Threading::WaitHandle::WaitAny methode
inhoud
[
verbergen
]WaitHandle::WaitAny(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&) method
Wacht tot een van de handles afgevuurd is.
static int System::Threading::WaitHandle::WaitAny(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles)
| Parameter | Type | Beschrijving |
|---|---|---|
| waitHandles | const System::ArrayPtr<System::SharedPtr<WaitHandle>>& | Handles om op te wachten. |
ReturnValue
Waar wanneer elk element in waitHandles een signaal heeft ontvangen; anders keert de methode nooit terug.
Zie ook
- Typedef ArrayPtr
- Typedef SharedPtr
- Class WaitHandle
- Class WaitHandle
- Namespace System::Threading
- Library Aspose.Page for C++
WaitHandle::WaitAny(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&, int) method
Wacht tot een van de handles afgevuurd is.
static int System::Threading::WaitHandle::WaitAny(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles, int millisecondsTimeout)
| Parameter | Type | Beschrijving |
|---|---|---|
| waitHandles | const System::ArrayPtr<System::SharedPtr<WaitHandle>>& | Handles om op te wachten. |
| millisecondsTimeout | int | Timeout om op te wachten, in milliseconden; -1 betekent oneindig wachten, 0 betekent controleer-en-keer-terug, positieve waarden zijn time-outs. |
ReturnValue
Waar als een handle is geactiveerd, onwaar als de time‑out is overschreden.
Zie ook
- Typedef ArrayPtr
- Typedef SharedPtr
- Class WaitHandle
- Class WaitHandle
- Namespace System::Threading
- Library Aspose.Page for C++
WaitHandle::WaitAny(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&, TimeSpan) method
Wacht tot een van de handles afgevuurd is.
static int System::Threading::WaitHandle::WaitAny(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles, TimeSpan timeout)
| Parameter | Type | Beschrijving |
|---|---|---|
| waitHandles | const System::ArrayPtr<System::SharedPtr<WaitHandle>>& | Handles om op te wachten. |
| timeout | TimeSpan | Een System::TimeSpan die het aantal milliseconden om te wachten weergeeft, of een System::TimeSpan die -1 milliseconden weergeeft om onbeperkt te wachten. |
ReturnValue
Waar als een handle is geactiveerd, onwaar als de time‑out is overschreden.
Zie ook
- Typedef ArrayPtr
- Typedef SharedPtr
- Class WaitHandle
- Class TimeSpan
- Class WaitHandle
- Namespace System::Threading
- Library Aspose.Page for C++