Task.WhenAny Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a task that will complete when any of the supplied tasks have completed.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
WhenAny<TResult>(IEnumerable<Task<TResult>>) | Creates a task that will complete when any of the supplied tasks have completed. |
|
WhenAny(IEnumerable<Task>) | Creates a task that will complete when any of the supplied tasks have completed. |
|
WhenAny(Task[]) | Creates a task that will complete when any of the supplied tasks have completed. |
|
WhenAny<TResult>(Task<TResult>[]) | Creates a task that will complete when any of the supplied tasks have completed. |
Show: