Share via


NamespaceManager.CreateEventHub Method

Definition

Overloads

CreateEventHub(EventHubDescription)

Creates a new Event Hub using the specified EventHubDescription.

CreateEventHub(String)

Creates a new Event Hub using default values, for the given input path.

CreateEventHub(EventHubDescription)

Creates a new Event Hub using the specified EventHubDescription.

public Microsoft.ServiceBus.Messaging.EventHubDescription CreateEventHub (Microsoft.ServiceBus.Messaging.EventHubDescription description);
member this.CreateEventHub : Microsoft.ServiceBus.Messaging.EventHubDescription -> Microsoft.ServiceBus.Messaging.EventHubDescription
Public Function CreateEventHub (description As EventHubDescription) As EventHubDescription

Parameters

Returns

Returns the EventHubDescription.

Applies to

CreateEventHub(String)

Creates a new Event Hub using default values, for the given input path.

public Microsoft.ServiceBus.Messaging.EventHubDescription CreateEventHub (string path);
member this.CreateEventHub : string -> Microsoft.ServiceBus.Messaging.EventHubDescription
Public Function CreateEventHub (path As String) As EventHubDescription

Parameters

path
String

The path to the Event Hub.

Returns

Returns the EventHubDescription.

Applies to