ContinueWith()
ResultTask::ContinueWith(const Action<RTaskPtr<T>>&) method
Creates a continuation that executes when the result task completes.
TaskPtr System::Threading::Tasks::ResultTask<T>::ContinueWith(const Action<RTaskPtr<T>> &continuationAction)
Arguments
Parameter | Type | Description |
---|---|---|
continuationAction | const Action<RTaskPtr<T>>& | Action to execute when this task completes, receiving this result task |
Return Value
TaskPtr A new task representing the continuation
Remarks
The continuation action receives this ResultTask to access the result value
See Also
- Typedef TaskPtr
- Typedef Action
- Typedef RTaskPtr
- Class ResultTask
- Namespace System::Threading::Tasks
- Library Aspose.Slides