System.Threading.Tasks.TaskFactory.ContinueWhenAny Method

Creates a continuation System.Threading.Tasks.Task that will be started upon the completion of any Task in the provided set.

Syntax

public Task ContinueWhenAny (Task[] tasks, Action<Task> continuationAction)

Parameters

tasks
The array of tasks from which to continue when one task completes.
continuationAction
The action delegate to execute when one task in the tasks array completes.

Returns

The new continuation System.Threading.Tasks.Task.

Remarks

Documentation for this section has not yet been entered.

Requirements

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