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(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>(Task<TResult>[])

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

Return to top
Show: