Initializes a new AutoResetEvent. InitialState
specifies the initial state of the event object. If true, the initial state is signaled; otherwise, it is nonsignaled.
[Visual Basic] Public Sub New( _ ByVal initialState As Boolean _ ) [C#] public AutoResetEvent( bool initialState ); [C++] public: AutoResetEvent( bool initialState ); [JScript] public function AutoResetEvent( initialState : Boolean );
AutoResetEvent Class | AutoResetEvent Members | System.Threading Namespace