API:System.SyncObjs.TEvent.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

Type Visibilité  Source Unité  Parent
constructor public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs TEvent

Description

Instancie un objet THandleObject.

System.SyncObjs.TEvent.Create hérite de System.SyncObjs.THandleObject.Create. Tout le contenu en-dessous de cette ligne se réfère à System.SyncObjs.THandleObject.Create.

Instancie un objet THandleObject.

Appelez Create pour créer un objet THandleObject.

Définissez le paramètre UseCOMWait pour garantir que lorsqu'un thread est bloqué et en attente de l'objet, tous les rappels STA COM peuvent être effectués dans ce thread.

Voir aussi