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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.