Skip to main content
.NET Framework Class Library
WaitHandle..::.WaitAny Method





Waits for any of the elements in the specified array to receive a signal.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List
 NameDescription
Public methodStatic memberWaitAny(array<WaitHandle>[]()[])Waits for any of the elements in the specified array to receive a signal.
Public methodStatic memberWaitAny(array<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.
Public methodStatic memberWaitAny(array<WaitHandle>[]()[], TimeSpan)Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to specify the time interval.
Public methodStatic memberWaitAny(array<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.
Public methodStatic memberWaitAny(array<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.
Top