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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET