Class ManagedAutoResetEvent
Managed AutoResetEvent.
Inheritance
System.Object
ManagedAutoResetEvent
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ManagedAutoResetEvent : object
Constructors
ManagedAutoResetEvent()
Creates a new instance.
Declaration
public ManagedAutoResetEvent()
Methods
Set()
Signal to release all threads.
Declaration
public void Set()
WaitOne()
Blocks until signalled.
Declaration
public void WaitOne()
WaitOne(Int32)
Blocks until signalled or until timeout.
Declaration
public bool WaitOne(int millisecondsTimeout)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | millisecondsTimeout | Length of time to block for (in ms). |
Returns
Type | Description |
---|---|
System.Boolean |