System::Threading::EventWaitHandle 类
EventWaitHandle class
Event that can be sent to waiting thread. 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 EventWaitHandle : public System::Threading::WaitHandle
方法
| 方法 | 描述 |
|---|---|
| EventWaitHandle(bool, EventResetMode) | RTTI 信息。 |
| virtual Reset() | 将事件设置为非信号状态。 |
| virtual Set() | 将事件设置为信号状态。 |
| ~EventWaitHandle() | 析构函数。 |
字段
| 字段 | 描述 |
|---|---|
| static WaitTimeout | 特殊值,由函数返回;否则返回数组中已发信号对象的索引,如果超时且没有任何信号。 |
另见
- Class WaitHandle
- Namespace System::Threading
- Library Aspose.Page for C++