NamespaceManager.CreateConsumerGroupAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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
- description
- ConsumerGroupDescription
Returns
The task that completes the asynchronous operation.
Applies to
Azure SDK for .NET