WaitHandle.WaitAll Method (WaitHandle[])
Waits for all the elements in the specified array to receive a signal.
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Syntax
public static bool WaitAll (
WaitHandle[] waitHandles
)
Parameters
- waitHandles
A WaitHandle array containing the objects for which the current instance will wait. This array cannot contain multiple references to the same object.
Return Value
true when every element in waitHandles has received a signal; otherwise the method never returns.
See Also
Reference
WaitHandle Class
WaitHandle Members
System.Threading Namespace