Internet Direct (Indy) Version 9.0.1 Beta
TIdLocalEvent.Create
Constructor for the object instance.

constructor Create(const AInitialState: Boolean; const AManualReset: Boolean);
Parameters
const AInitialState: Boolean = False
Default value is False.

const AManualReset: Boolean = False
Default value is False.

Description
Create is the constructor for the object instance. Create calls the inherited Create method using the input parameters to initialize the object instance.

TIdLocalEvent is created using the default Event attributes to allow inheritance of the security attributes of the process that creates the event.

When AInitialState is False, the TIdLocalEvent is created with the initial event signal state cleared (not set).

When AManualReset is False, the TIdLocalEvent can be automatically reset when the single thread that waits on the signal is released. It does not require a call to ResetEvent.

TIdLocalEvent is not created to access an existing named TEvent object instance.