WaitAll Method

Task.WaitAll Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Waits for all of the provided Task objects to complete execution.

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

  NameDescription
Public method Static member WaitAll(Task[]) Waits for all of the provided Task objects to complete execution.
Public method Static member WaitAll(Task[], Int32) Waits for all of the provided Task objects to complete execution.
Public method Static member WaitAll(Task[], CancellationToken) Waits for all of the provided Task objects to complete execution.
Public method Static member WaitAll(Task[], TimeSpan) Waits for all of the provided Task objects to complete execution.
Public method Static member WaitAll(Task[], Int32, CancellationToken) Waits for all of the provided Task objects to complete execution.
Top

Show:
© 2017 Microsoft