Export (0) Print
Expand All

ManualResetEventSlim Methods

The ManualResetEventSlim type exposes the following members.

  Name Description
Public method Dispose() Releases all resources used by the current instance of the ManualResetEventSlim class.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the ManualResetEventSlim, and optionally releases the managed resources.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Reset Sets the state of the event to nonsignaled, which causes threads to block.
Public method Set Sets the state of the event to signaled, which allows one or more threads waiting on the event to proceed.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Wait() Blocks the current thread until the current ManualResetEventSlim is set.
Public method Wait(CancellationToken) Blocks the current thread until the current ManualResetEventSlim receives a signal, while observing a CancellationToken.
Public method Wait(Int32) Blocks the current thread until the current ManualResetEventSlim is set, using a 32-bit signed integer to measure the time interval.
Public method Wait(TimeSpan) Blocks the current thread until the current ManualResetEventSlim is set, using a TimeSpan to measure the time interval.
Public method Wait(Int32, CancellationToken) Blocks the current thread until the current ManualResetEventSlim is set, using a 32-bit signed integer to measure the time interval, while observing a CancellationToken.
Public method Wait(TimeSpan, CancellationToken) Blocks the current thread until the current ManualResetEventSlim is set, using a TimeSpan to measure the time interval, while observing a CancellationToken.
Top
Show:
© 2014 Microsoft