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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET