TplExtensions::AppendAction Method (Task^, Action^, TaskContinuationOptions, CancellationToken)
Visual Studio 2015
Schedules some action for execution at the conclusion of a task.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
public: [ExtensionAttribute] static Task^ AppendAction( Task^ task, Action^ action, TaskContinuationOptions options = TaskContinuationOptions::None, CancellationToken cancellation = null )
Parameters
- task
-
Type:
System.Threading.Tasks::Task^
The task.
- action
-
Type:
System::Action^
The action.
- options
-
Type:
System.Threading.Tasks::TaskContinuationOptions
The task continuation options.
- cancellation
-
Type:
System.Threading::CancellationToken
The cancellation token.
Show: