API:System.SyncObjs.TEvent.Create
Delphi
constructor Create(EventAttributes: PSecurityAttributes; ManualReset,
InitialState: Boolean; const Name: string; UseCOMWait: Boolean = False); overload;
constructor Create(UseCOMWait: Boolean = False); overload;
C++
__fastcall TEvent(Winapi::Windows::PSecurityAttributes EventAttributes, bool ManualReset, bool InitialState, const System::UnicodeString Name, bool UseCOMWait)/* overload */;
__fastcall TEvent(bool UseCOMWait)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TEvent |
説明
THandleObject オブジェクトをインスタンス化します。
System.SyncObjs.TEvent.Create は System.SyncObjs.THandleObject.Create を継承しています。以下の内容はすべて System.SyncObjs.THandleObject.Create を参照しています。
THandleObject オブジェクトをインスタンス化します。
Create を呼び出すと、THandleObject オブジェクトを作成することができます。
UseCOMWait パラメータを設定すると、スレッドがブロックされてオブジェクトを待っているときに発生した STA COM 呼び出しをこのスレッドに戻すことができます。