Partager via


NamespaceManager.CreateConsumerGroupAsync Méthode

Définition

Surcharges

CreateConsumerGroupAsync(String, String)

Version asynchrone de CreateConsumerGroup(String, String).

CreateConsumerGroupAsync(ConsumerGroupDescription)

Version asynchrone de CreateConsumerGroup(ConsumerGroupDescription).

CreateConsumerGroupAsync(String, String)

Version asynchrone de CreateConsumerGroup(String, String).

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

Paramètres

eventHubPath
String

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

name
String

Nom du groupe de consommateurs.

Retours

Tâche effectuant l'opération asynchrone.

S’applique à

CreateConsumerGroupAsync(ConsumerGroupDescription)

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription> CreateConsumerGroupAsync (Microsoft.ServiceBus.Messaging.ConsumerGroupDescription description);
member this.CreateConsumerGroupAsync : Microsoft.ServiceBus.Messaging.ConsumerGroupDescription -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription>
Public Function CreateConsumerGroupAsync (description As ConsumerGroupDescription) As Task(Of ConsumerGroupDescription)

Paramètres

Retours

Tâche effectuant l'opération asynchrone.

S’applique à