次の方法で共有


ILeaseManager.UpdatePropertiesAsync(ILease) メソッド

定義

指定したリースのプロパティを置き換えます。

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

パラメーター

leaseToUpdatePropertiesFrom
ILease

新しいプロパティを含むリース

戻り値

更新されたリース

例外

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

適用対象