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.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | WhenAny(IEnumerable<Task^>^) | Creates a task that will complete when any of the supplied tasks have completed. |
![]() ![]() | WhenAny(array<Task^>^) | Creates a task that will complete when any of the supplied tasks have completed. |
![]() ![]() | WhenAny<TResult>(IEnumerable<Task<TResult>^>^) | Creates a task that will complete when any of the supplied tasks have completed. |
![]() ![]() | WhenAny<TResult>(array<Task<TResult>^>^) | Creates a task that will complete when any of the supplied tasks have completed. |
Show:

