次の方法で共有


ILeaseManager.RenewAsync(ILease) メソッド

定義

リースを更新します。 リースは、有効期限が切れないように定期的に更新されます。

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease> RenewAsync(Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease lease);
abstract member RenewAsync : Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease>
Public Function RenewAsync (lease As ILease) As Task(Of ILease)

パラメーター

lease
ILease

更新するリース

戻り値

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

例外

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

適用対象