WaitHandle.WaitAny Method
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Waits for any of the elements in the specified array to receive a signal.
Assembly: mscorlib (in mscorlib.dll)
Name | Description | |
---|---|---|
![]() ![]() | 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. |