NamespaceManager.CreateConsumerGroupIfNotExistsAsync Methode

Definition

Überlädt

CreateConsumerGroupIfNotExistsAsync(ConsumerGroupDescription)

Asynchrone Version von CreateConsumerGroupIfNotExists(ConsumerGroupDescription).

CreateConsumerGroupIfNotExistsAsync(String, String)

Asynchrone Version von CreateConsumerGroupIfNotExists(String, String).

CreateConsumerGroupIfNotExistsAsync(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)

Parameter

description
ConsumerGroupDescription

Die Beschreibung der Consumergruppe.

Gibt zurück

Der Task, der den asynchronen Vorgang abschließt.

Gilt für:

CreateConsumerGroupIfNotExistsAsync(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)

Parameter

eventHubPath
String

Der Pfad zum Event Hub.

name
String

Der Name der Consumergruppe.

Gibt zurück

Der Task, der den asynchronen Vorgang abschließt.

Gilt für: