NamespaceManager.GetConsumerGroupsAsync(String) Méthode

Définition

Obtient de manière asynchrone un ensemble de groupes de consommateurs.

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

Paramètres

eventHubPath
String

Chemin d’accès au hub d’événements.

Retours

Tâche représentant l’opération asynchrone.

S’applique à