Delen via


EventHubConnectionOptions.CustomEndpointAddress Property

Definition

The address to use for establishing a connection to the Event Hubs service, allowing network requests to be routed through any application gateways or other paths needed for the host environment.

public Uri CustomEndpointAddress { get; set; }
member this.CustomEndpointAddress : Uri with get, set
Public Property CustomEndpointAddress As Uri

Property Value

Uri

This address will override the default endpoint of the Event Hubs namespace when making the network request to the service. The default endpoint specified in a connection string or by a fully qualified namespace will still be needed to negotiate the connection with the Event Hubs service.

Applies to