WaitHandle Methods
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Close() | Releases all resources held by the current WaitHandle. |
![]() | CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.) |
![]() | Dispose() | Releases all resources used by the current instance of the WaitHandle class. |
![]() | Dispose(Boolean) | When overridden in a derived class, releases the unmanaged resources used by the WaitHandle, and optionally releases the managed resources. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | GetType() | |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone() | |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.) |
![]() ![]() | SignalAndWait(WaitHandle, WaitHandle) | Signals one WaitHandle and waits on another. |
![]() ![]() | SignalAndWait(WaitHandle, WaitHandle, Int32, Boolean) | Signals one WaitHandle and waits on another, specifying a time-out interval as a 32-bit signed integer and specifying whether to exit the synchronization domain for the context before entering the wait. |
![]() ![]() | SignalAndWait(WaitHandle, WaitHandle, TimeSpan, Boolean) | Signals one WaitHandle and waits on another, specifying the time-out interval as a TimeSpan and specifying whether to exit the synchronization domain for the context before entering the wait. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() ![]() | WaitAll(WaitHandle()) | Waits for all the elements in the specified array to receive a signal. |
![]() ![]() | WaitAll(WaitHandle(), Int32) | Waits for all the elements in the specified array to receive a signal, using an Int32 value to specify the time interval. |
![]() ![]() | WaitAll(WaitHandle(), Int32, Boolean) | Waits for all the elements in the specified array to receive a signal, using an Int32 value to specify the time interval and specifying whether to exit the synchronization domain before the wait. |
![]() ![]() | WaitAll(WaitHandle(), TimeSpan) | Waits for all the elements in the specified array to receive a signal, using a TimeSpan value to specify the time interval. |
![]() ![]() | WaitAll(WaitHandle(), TimeSpan, Boolean) | Waits for all the elements in the specified array to receive a signal, using a TimeSpan value to specify the time interval, and specifying whether to exit the synchronization domain before the wait. |
![]() ![]() | WaitAny(WaitHandle()) | Waits for any of the elements in the specified array to receive a signal. |
![]() ![]() | WaitAny(WaitHandle(), Int32) | Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to specify the time interval. |
![]() ![]() | WaitAny(WaitHandle(), Int32, Boolean) | Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to specify the time interval, and specifying whether to exit the synchronization domain before the wait. |
![]() ![]() | WaitAny(WaitHandle(), TimeSpan) | Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to specify the time interval. |
![]() ![]() | WaitAny(WaitHandle(), TimeSpan, Boolean) | Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to specify the time interval and specifying whether to exit the synchronization domain before the wait. |
![]() | WaitOne() | Blocks the current thread until the current WaitHandle receives a signal. |
![]() | WaitOne(Int32) | Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval in milliseconds. |
![]() | WaitOne(Int32, Boolean) | Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval and specifying whether to exit the synchronization domain before the wait. |
![]() | WaitOne(TimeSpan) | Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval. |
![]() | WaitOne(TimeSpan, Boolean) | Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval and specifying whether to exit the synchronization domain before the wait. |
| Name | Description | |
|---|---|---|
![]() | GetSafeWaitHandle() | Gets the safe handle for a native operating system wait handle. (Defined by WaitHandleExtensions.) |
![]() | SetSafeWaitHandle(SafeWaitHandle) | Sets a safe handle for a native operating system wait handle. (Defined by WaitHandleExtensions.) |


