Class ManagedAutoResetEvent
Managed AutoResetEvent.
Inheritance
System.Object
ManagedAutoResetEvent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ManagedAutoResetEvent
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 |