This documentation is archived and is not being maintained.

WaitHandle.WaitAny Method

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

Name Description
WaitHandle.WaitAny (WaitHandle[]) Waits for any of the elements in the specified array to receive a signal.
WaitHandle.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 measure the time interval, and specifying whether to exit the synchronization domain before the wait.
WaitHandle.WaitAny (WaitHandle[], TimeSpan, Boolean) Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to measure the time interval and specifying whether to exit the synchronization domain before the wait.
Show: