MessagingFactory.CreateEventHubClient Method

Definition

Creates a new EventHubClient object using the specified path.

public Microsoft.ServiceBus.Messaging.EventHubClient CreateEventHubClient (string path);
Parameters
path
String

The path to the Event Hub.

Returns

The newly created EventHubClient object.

Exceptions

Thrown if path is null.