System::Threading::Tasks::Task::ContinueWith méthode
Contenu
[
Cacher
]Task::ContinueWith(const Action<TaskPtr>&) method
Crée une continuation qui s’exécute lorsque la tâche se termine.
TaskPtr System::Threading::Tasks::Task::ContinueWith(const Action<TaskPtr> &continuationAction)
| Paramètre | Type | Description |
|---|---|---|
| continuationAction | const Action<TaskPtr>& | Action à exécuter lorsque cette tâche se termine |
ReturnValue
TaskPtr A new task representing the continuation
Voir aussi
- Typedef TaskPtr
- Typedef Action
- Class Task
- Namespace System::Threading::Tasks
- Library Aspose.Font for C++
Task::ContinueWith(const Func<TaskPtr, TResult>&) method
Crée une continuation qui s’exécute lorsque la tâche se termine.
template<typename TResult> RTaskPtr<TResult> System::Threading::Tasks::Task::ContinueWith(const Func<TaskPtr, TResult> &continuationFunction)
| Paramètre | Description |
|---|---|
| TResult | Un type de résultat de tâche |
| Paramètre | Type | Description |
|---|---|---|
| continuationFunction | const Func<TaskPtr, TResult>& | Fonction pour obtenir le résultat lorsque cette tâche se termine |
ReturnValue
RTaskPtr A new task representing the continuation
Voir aussi
- Typedef RTaskPtr
- Class Func
- Typedef TaskPtr
- Class Task
- Namespace System::Threading::Tasks
- Library Aspose.Font for C++