System::Threading::Tasks::ResultTask::ContinueWith 方法
ResultTask::ContinueWith method
创建一个在结果任务完成时执行的延续。
TaskPtr System::Threading::Tasks::ResultTask<T>::ContinueWith(const Action<RTaskPtr<T>> &continuationAction)
| Parameter | Type | 描述 |
|---|---|---|
| continuationAction | const Action<RTaskPtr<T>>& | Action 在此任务完成时执行,接收此结果任务。 |
ReturnValue
TaskPtr A new task representing the continuation
备注
后续操作接收此 ResultTask 以访问结果值。
另见
- Typedef TaskPtr
- Typedef Action
- Typedef RTaskPtr
- Class ResultTask
- Namespace System::Threading::Tasks
- Library Aspose.Page for C++