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