ContinueWith()

Task::ContinueWith(const Action<TaskPtr>&) method

Creates a continuation that executes when the task completes.

TaskPtr System::Threading::Tasks::Task::ContinueWith(const Action<TaskPtr> &continuationAction)

Arguments

ParameterTypeDescription
continuationActionconst Action<TaskPtr>&Action to execute when this task completes

Return Value

TaskPtr A new task representing the continuation

See Also