Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Task::WhenAll Method

.NET Framework (current version)
 

Creates a task that will complete when all of the supplied tasks have completed.

Namespace:   System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticWhenAll(IEnumerable<Task^>^)

Creates a task that will complete when all of the Task objects in an enumerable collection have completed.

System_CAPS_pubmethodSystem_CAPS_staticWhenAll(array<Task^>^)

Creates a task that will complete when all of the Task objects in an array have completed.

System_CAPS_pubmethodSystem_CAPS_staticWhenAll<TResult>(IEnumerable<Task<TResult>^>^)

Creates a task that will complete when all of the Task<TResult> objects in an enumerable collection have completed.

System_CAPS_pubmethodSystem_CAPS_staticWhenAll<TResult>(array<Task<TResult>^>^)

Creates a task that will complete when all of the Task<TResult> objects in an array have completed.

Return to top
Show:
© 2017 Microsoft