ILeaseManager.DeleteLeaseAsync(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.
Delete the lease info for the given partition from the store. If there is no stored lease for the given partition, that is treated as success.
public System.Threading.Tasks.Task DeleteLeaseAsync (Microsoft.Azure.EventHubs.Processor.Lease lease);
abstract member DeleteLeaseAsync : Microsoft.Azure.EventHubs.Processor.Lease -> System.Threading.Tasks.Task
Public Function DeleteLeaseAsync (lease As Lease) As Task
Parameters
- lease
- Lease
Lease info for the desired partition as previously obtained from GetLeaseAsync()
Returns
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