TaskFactory.ContinueWhenAll Method (Task, Action<Task>, CancellationToken, TaskContinuationOptions, TaskScheduler)
Creates a continuation task that starts when a set of specified tasks has completed.
Assembly: mscorlib (in mscorlib.dll)
public Task ContinueWhenAll( Task tasks, Action<Task> continuationAction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler )
The array of tasks from which to continue.
The action delegate to execute when all tasks in the tasks array have completed.
The cancellation token to assign to the new continuation task.
A bitwise combination of the enumeration values that control the behavior of the new continuation task.
The object that is used to schedule the new continuation task.
Return ValueType: System.Threading.Tasks.Task
The new continuation task.
Available since 8
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 5.0
Windows Phone Silverlight
Available since 8.0
Available since 8.1