NamespaceManager.GetConsumerGroupsAsync(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 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.