NamespaceManager.CreateEventHubAsync NamespaceManager.CreateEventHubAsync NamespaceManager.CreateEventHubAsync Method

Definition

Overloads

CreateEventHubAsync(EventHubDescription) CreateEventHubAsync(EventHubDescription) CreateEventHubAsync(EventHubDescription)

Asynchronously creates an event hub.

CreateEventHubAsync(String) CreateEventHubAsync(String) CreateEventHubAsync(String)

Asynchronously creates an event hub.

CreateEventHubAsync(EventHubDescription) CreateEventHubAsync(EventHubDescription) CreateEventHubAsync(EventHubDescription)

Asynchronously creates an event hub.

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

Parameters

description
EventHubDescription EventHubDescription EventHubDescription

An EventHubDescription object that describes the Event Hub to create.

Returns

The task that completes the asynchronous operation.

CreateEventHubAsync(String) CreateEventHubAsync(String) CreateEventHubAsync(String)

Asynchronously creates an event hub.

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

Parameters

path
String String String

The path to the Event Hub.

Returns

The task that completes the asynchronous operation.

Applies to