NamespaceManager.GetConsumerGroupAsync(String, String) Method

Definition

Asynchronously gets a consumer group.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription> GetConsumerGroupAsync (string eventHubPath, string name);
member this.GetConsumerGroupAsync : string * string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription>
Public Function GetConsumerGroupAsync (eventHubPath As String, name As String) As Task(Of ConsumerGroupDescription)

Parameters

eventHubPath
String

The path to the Event Hub.

name
String

The name of the consumer group.

Returns

The task representing the asynchronous operation.

Applies to