System::Threading::Tasks::ResultTask::ContinueWith method

ResultTask::ContinueWith method

Creates a continuation that executes when the result task completes.

TaskPtr System::Threading::Tasks::ResultTask<T>::ContinueWith(const Action<RTaskPtr<T>> &continuationAction)
ParameterTypeDescription
continuationActionconst Action<RTaskPtr<T>>&Action to execute when this task completes, receiving this result task

ReturnValue

TaskPtr A new task representing the continuation

Remarks

The continuation action receives this ResultTask to access the result value

See Also