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::WhenAny Method

.NET Framework (current version)
 

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

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticWhenAny(IEnumerable<Task^>^)

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

System_CAPS_pubmethodSystem_CAPS_staticWhenAny(array<Task^>^)

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

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

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

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

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

Return to top
Show:
© 2017 Microsoft