EventHubClient.Create(String) Method
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.
Creates a new instance of the EventHubClient instance, using a connection string from the application configuration settings.
public static Microsoft.ServiceBus.Messaging.EventHubClient Create (string path);
static member Create : string -> Microsoft.ServiceBus.Messaging.EventHubClient
Public Shared Function Create (path As String) As EventHubClient
- path
- String
The path to the Event Hub.
The newly created Event Hub client object.
This method will attempt to retrieve the connection string information from either app.config, or web.config files. User must supply the connection string using the "AppSettings" section of the configuration. The format of the section is as follows:
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: