NamespaceManager.CreateConsumerGroupAsync Method

Definition

Overloads

CreateConsumerGroupAsync(String, String)

Asynchronous version of CreateConsumerGroup(String, String).

CreateConsumerGroupAsync(ConsumerGroupDescription)

Asynchronous version of CreateConsumerGroup(ConsumerGroupDescription).

CreateConsumerGroupAsync(String, String)

Asynchronous version of CreateConsumerGroup(String, String).

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription> CreateConsumerGroupAsync (string eventHubPath, string name);
Parameters
eventHubPath
String

The path to the Event Hub.

name
String

The name of the consumer group.

Returns

The task that completes the asynchronous operation.

CreateConsumerGroupAsync(ConsumerGroupDescription)

Asynchronous version of CreateConsumerGroup(ConsumerGroupDescription).

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription> CreateConsumerGroupAsync (Microsoft.ServiceBus.Messaging.ConsumerGroupDescription description);
Parameters
Returns

The task that completes the asynchronous operation.

Applies to