TwclEvent.Create(Boolean,string) Method
Creates or opens a named event object.
public class function Create(const ManualReset: Boolean; const Name: string): TwclEvent; reintroduce; overload;
Parameters
- ManualReset
- Type: Boolean
If this parameter is
True, the method creates a manual-reset event object, which requires the use of theResetEventmethod to set the event state to nonsignaled. If this parameter isFalse, the method creates an auto-reset event object, and the system automatically resets the event state to nonsignaled after a single waiting thread has been released. - Name
- Type: string
The event name.