NamespaceManager.GetConsumerGroupsAsync(String) Method

Definition

Asynchronously gets a set of consumer groups.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription>> GetConsumerGroupsAsync (string eventHubPath);
member this.GetConsumerGroupsAsync : string -> System.Threading.Tasks.Task<seq<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription>>
Public Function GetConsumerGroupsAsync (eventHubPath As String) As Task(Of IEnumerable(Of ConsumerGroupDescription))

Parameters

eventHubPath
String

The path to the Event Hub.

Returns

The task representing the asynchronous operation.

Applies to