你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventHubConnectionOptions.CustomEndpointAddress 属性

定义

用于与事件中心服务建立连接的地址,允许通过任何应用程序网关或主机环境所需的其他路径路由网络请求。

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

属性值

Uri

向服务发出网络请求时,此地址将替代事件中心命名空间的默认终结点。 仍然需要在连接字符串或完全限定的命名空间中指定的默认终结点才能与事件中心服务协商连接。

适用于