Freigeben über


ILeaseManager.GetAllLeasesAsync Methode

Definition

Gibt die Leaseinformationen für alle Partitionen zurück. Eine typische Implementierung könnte getLeaseAsync() für alle Partitionen aufrufen.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.EventHubs.Processor.Lease>> GetAllLeasesAsync ();
abstract member GetAllLeasesAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Azure.EventHubs.Processor.Lease>>
Public Function GetAllLeasesAsync () As Task(Of IEnumerable(Of Lease))

Gibt zurück

Liste der Leaseinformationen.

Gilt für: