CepCheckpointableProcess.CheckpointAsync 方法 (CancellationToken)
以非同步方式進行檢查點檢查,並傳回關聯的工作。 傳遞的 cancellationToken 與建立的工作有關聯。
命名空間: Microsoft.ComplexEventProcessing
組件: Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)
語法
'宣告
Public Function CheckpointAsync ( _
cancellationToken As CancellationToken _
) As Task
'用途
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
參數
- cancellationToken
型別:System.Threading.CancellationToken
要與建立的工作產生關聯的 cancellationToken。
傳回值
型別:System.Threading.Tasks.Task