ILeaseManager.ReleaseLeaseAsync(Lease) 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.
Give up a lease currently held by this host.
If the lease has been stolen, or expired, releasing it is unnecessary, and will fail if attempted.
public System.Threading.Tasks.Task<bool> ReleaseLeaseAsync(Microsoft.Azure.EventHubs.Processor.Lease lease);
abstract member ReleaseLeaseAsync : Microsoft.Azure.EventHubs.Processor.Lease -> System.Threading.Tasks.Task<bool>
Public Function ReleaseLeaseAsync (lease As Lease) As Task(Of Boolean)
Parameters
- lease
- Lease
Lease to be given up
Returns
true if the lease was released successfully, false if not
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET