Partilhar via


NamespaceManager.CreateConsumerGroupAsync Método

Definição

Sobrecargas

CreateConsumerGroupAsync(String, String)

Versão assíncrona de CreateConsumerGroup(String, String).

CreateConsumerGroupAsync(ConsumerGroupDescription)

Versão assíncrona de CreateConsumerGroup(ConsumerGroupDescription).

CreateConsumerGroupAsync(String, String)

Versão assíncrona 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)

Parâmetros

eventHubPath
String

O caminho para o Hub de Eventos.

name
String

O nome do grupo de consumidores.

Retornos

A tarefa que conclui a operação assíncrona.

Aplica-se a

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)

Parâmetros

Retornos

A tarefa que conclui a operação assíncrona.

Aplica-se a