ILeaseManager.ReleaseAsync(ILease) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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