次の方法で共有


ILeaseCheckpointer.CheckpointAsync(ILease, String) メソッド

定義

リースのチェックポイントを設定します。

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease> CheckpointAsync (Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease lease, string continuationToken);
abstract member CheckpointAsync : Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease * string -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease>
Public Function CheckpointAsync (lease As ILease, continuationToken As String) As Task(Of ILease)

パラメーター

lease
ILease

更新するリース

continuationToken
String

継続トークン

戻り値

更新された更新済みリース

例外

他のホストがリースを取得した場合、またはリースが削除された場合にスローされます

適用対象