NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

WaitHandle.WaitAll (WaitHandle[])

[To be supplied.]

[Visual Basic]
Overloads Public Shared Function WaitAll( _
   ByVal waitHandles() As WaitHandle _
) As Boolean
[C#]
public static bool WaitAll(
   WaitHandle[] waitHandles
);
[C++]
public: static bool WaitAll(
   WaitHandle* waitHandles[]
);
[JScript]
public static function WaitAll(
   waitHandles : WaitHandle[]
) : Boolean;

Parameters

waitHandles
An array of WaitHandle class.

Exceptions

Exception Type Condition
ArgumentNullException If any of the objects in the waitHandles array are either a null reference (in Visual Basic Nothing) or are duplicate.

Remarks

Returns when the wait terminates, which means either when all the handles are signaled or when time-out occurrs. On some implementations if more than 64 handles are passed a NotSupportedException is thrown. If there are duplicates in the array, the call will fail.

See Also

WaitHandle Class | WaitHandle Members | System.Threading Namespace | WaitHandle.WaitAll Overload List