System.Threading.Tasks.TaskFactory.ContinueWhenAll Method

Creates a continuation task that starts when a set of specified tasks has completed.

Syntax

public Task ContinueWhenAll (Task[] tasks, Action<Task[]> continuationAction, System.Threading.CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)

Parameters

tasks
The array of tasks from which to continue.
continuationAction
The action delegate to execute when all tasks in the tasks array have completed.
cancellationToken
The cancellation toke to assign to the new continuation task.
continuationOptions
A bitwise combination of the enumeration values that control the behavior of the new continuation task.
scheduler
The object that is used to schedule the new continuation task.

Returns

The new continuation 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