Share via


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);
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

The path to the Event Hub.

name
String

The name of the consumer group.

Returns

The task that completes the asynchronous operation.

Applies to

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)

Parameters

Returns

The task that completes the asynchronous operation.

Applies to