WaitHandle Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The WaitHandle type exposes the following members.
| Name | Description | |
|---|---|---|
|
Close | When overridden in a derived class, releases all resources held by the current WaitHandle. |
|
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 the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
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[], TimeSpan) | Waits for all the elements in the specified array to receive a signal, using a TimeSpan value to specify the time interval. |
|
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[], TimeSpan) | Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to specify the time interval. |
|
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 32-bit signed integer to specify the time interval. |
|
WaitOne(TimeSpan) | Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval. |
Show: