NamespaceManager.CreateEventHub 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
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
- description
- EventHubDescription
The EventHubDescription.
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
Azure SDK for .NET