NamespaceManager.CreateEventHubIfNotExistsAsync Methode

Definition

Überlädt

CreateEventHubIfNotExistsAsync(EventHubDescription)

Erstellt asynchron einen Event Hub, wenn er nicht vorhanden ist.

CreateEventHubIfNotExistsAsync(String)

Erstellt asynchron einen Event Hub, wenn er nicht vorhanden ist.

CreateEventHubIfNotExistsAsync(EventHubDescription)

Erstellt asynchron einen Event Hub, wenn er nicht vorhanden ist.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.EventHubDescription> CreateEventHubIfNotExistsAsync (Microsoft.ServiceBus.Messaging.EventHubDescription description);
member this.CreateEventHubIfNotExistsAsync : Microsoft.ServiceBus.Messaging.EventHubDescription -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.EventHubDescription>
Public Function CreateEventHubIfNotExistsAsync (description As EventHubDescription) As Task(Of EventHubDescription)

Parameter

description
EventHubDescription

Die Event Hub-Beschreibung.

Gibt zurück

Der Task, der den asynchronen Vorgang abschließt.

Gilt für:

CreateEventHubIfNotExistsAsync(String)

Erstellt asynchron einen Event Hub, wenn er nicht vorhanden ist.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.EventHubDescription> CreateEventHubIfNotExistsAsync (string path);
member this.CreateEventHubIfNotExistsAsync : string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.EventHubDescription>
Public Function CreateEventHubIfNotExistsAsync (path As String) As Task(Of EventHubDescription)

Parameter

path
String

Der Pfad des Event Hubs.

Gibt zurück

Der Task, der den asynchronen Vorgang abschließt.

Gilt für: