NamespaceManager.CreateConsumerGroupAsync NamespaceManager.CreateConsumerGroupAsync NamespaceManager.CreateConsumerGroupAsync Method

Definition

Overloads

CreateConsumerGroupAsync(String, String) CreateConsumerGroupAsync(String, String) CreateConsumerGroupAsync(String, String)

Asynchronous version of CreateConsumerGroup(String, String).

CreateConsumerGroupAsync(ConsumerGroupDescription) CreateConsumerGroupAsync(ConsumerGroupDescription) CreateConsumerGroupAsync(ConsumerGroupDescription)

Asynchronous version of CreateConsumerGroup(ConsumerGroupDescription).

CreateConsumerGroupAsync(String, String) CreateConsumerGroupAsync(String, String) CreateConsumerGroupAsync(String, String)

Asynchronous version of 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)

Parameters

eventHubPath
String String String

The path to the Event Hub.

name
String String String

The name of the consumer group.

Returns

The task that completes the asynchronous operation.

CreateConsumerGroupAsync(ConsumerGroupDescription) CreateConsumerGroupAsync(ConsumerGroupDescription) CreateConsumerGroupAsync(ConsumerGroupDescription)

Asynchronous version of CreateConsumerGroup(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)

Parameters

Returns

The task that completes the asynchronous operation.

Applies to