CepCheckpointableProcess.CheckpointAsync Method (CancellationToken)
Asynchronously checkpoint and returns the associated task. The passed cancellationToken is associated with the created task.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
Public Function CheckpointAsync ( _
cancellationToken As CancellationToken _
) As Task
'Usage
Dim instance As CepCheckpointableProcess
Dim cancellationToken As CancellationToken
Dim returnValue As Task
returnValue = instance.CheckpointAsync(cancellationToken)
public Task CheckpointAsync(
CancellationToken cancellationToken
)
public:
Task^ CheckpointAsync(
CancellationToken cancellationToken
)
member CheckpointAsync :
cancellationToken:CancellationToken -> Task
public function CheckpointAsync(
cancellationToken : CancellationToken
) : Task
Parameters
- cancellationToken
Type: System.Threading.CancellationToken
The cancellationToken to be associated with the created task.
Return Value
Type: System.Threading.Tasks.Task