Share via


ILeaseManager.GetAllLeasesAsync Method

Definition

Return the lease info for all partitions. A typical implementation could just call GetLeaseAsync() on all partitions.

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))

Returns

list of lease info.

Applies to