NamespaceManager.CreateConsumerGroupIfNotExistsAsync 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
CreateConsumerGroupIfNotExistsAsync(ConsumerGroupDescription)
Asynchronous version of CreateConsumerGroupIfNotExists(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)
Parameters
- description
- ConsumerGroupDescription
The consumer group description.
Returns
The task that completes the asynchronous operation.
Applies to
CreateConsumerGroupIfNotExistsAsync(String, String)
Asynchronous version of CreateConsumerGroupIfNotExists(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)
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET