public class ManualResetEvent : WaitHandle { public ManualResetEvent(boolean initialState); public boolean Reset(); public boolean Set(); }
Initializes a new ManualResetEvent. InitialState specifies the initial state of the event object. If TRUE, the initial state is signaled; otherwise, it is nonsignaled.
The Reset method sets the state of the specified event object to nonsignaled.
The Set method sets the state of the specified event object to signaled.