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:

