NamespaceManager.GetConsumerGroupAsync(String, String) 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.
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.