共用方式為


ILeaseManager.ReleaseAsync(ILease) Method

Definition

Release ownership of the lease.

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

Parameters

lease
ILease

Lease to acquire

Returns

Exceptions

Thrown if other host acquired the lease or lease was deleted

Applies to