Compartilhar via


NamespaceManager.CreateConsumerGroupIfNotExistsAsync Método

Definição

Sobrecargas

CreateConsumerGroupIfNotExistsAsync(ConsumerGroupDescription)

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

CreateConsumerGroupIfNotExistsAsync(String, String)

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

CreateConsumerGroupIfNotExistsAsync(ConsumerGroupDescription)

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

Parâmetros

description
ConsumerGroupDescription

A descrição do grupo de consumidores.

Retornos

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

Aplica-se a

CreateConsumerGroupIfNotExistsAsync(String, String)

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription> CreateConsumerGroupIfNotExistsAsync (string eventHubPath, string name);
member this.CreateConsumerGroupIfNotExistsAsync : string * string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription>
Public Function CreateConsumerGroupIfNotExistsAsync (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