System::Threading::WaitHandle class
Contents
[
Hide
]WaitHandle class
Waiting primitive base class. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class WaitHandle : public System::Object
Methods
| Method | Description |
|---|---|
| virtual Close() | Releases any resource associated with handle. |
| get_Handle() | Gets handle. |
| static WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&, int) | RTTI information. |
| static WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&, TimeSpan) | Waits for all handles to fire. |
| static WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&) | Waits for all handles to fire. |
| static WaitAny(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&, int) | Waits for any of the handles to fire. |
| static WaitAny(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&, TimeSpan) | Waits for any of the handles to fire. |
| static WaitAny(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&) | Waits for any of the handles to fire. |
| virtual WaitOne() | Waits for the handle to fire for unlimited period. |
| virtual WaitOne(int) | Waits for the handle to fire. |
| virtual WaitOne(TimeSpan) | Waits for the handle to fire. |
| virtual WaitOne(int, bool) | Waits for the handle to fire. |
| virtual ~WaitHandle() | Destructor. |
Fields
| Field | Description |
|---|---|
| static WaitTimeout | Special value to be returned by the function otherwise returning index of signalled object in array, if timeout exceeds and nothing signals. |
See Also
- Class Object
- Namespace System::Threading
- Library Aspose.PDF for C++