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

ServiceBusEnvironment.CreateServiceUri 方法

定义

重载

CreateServiceUri(String, String, String)

使用指定的方案、服务命名空间和服务路径构造应用程序的服务总线 URI。

CreateServiceUri(String, String, String, Boolean)

使用指定的方案、服务命名空间、服务路径和中继路径前缀构造应用程序的服务总线 URI。

CreateServiceUri(String, String, String)

使用指定的方案、服务命名空间和服务路径构造应用程序的服务总线 URI。

public static Uri CreateServiceUri (string scheme, string serviceNamespace, string servicePath);
static member CreateServiceUri : string * string * string -> Uri
Public Shared Function CreateServiceUri (scheme As String, serviceNamespace As String, servicePath As String) As Uri

参数

scheme
String

URI 的方案。

serviceNamespace
String

应用程序使用的服务命名空间。

servicePath
String

URI 的主机名部分后面的服务路径。

返回

Uri

返回包含 Uri 新 URI 的 。

适用于

CreateServiceUri(String, String, String, Boolean)

使用指定的方案、服务命名空间、服务路径和中继路径前缀构造应用程序的服务总线 URI。

public static Uri CreateServiceUri (string scheme, string serviceNamespace, string servicePath, bool suppressRelayPathPrefix);
static member CreateServiceUri : string * string * string * bool -> Uri
Public Shared Function CreateServiceUri (scheme As String, serviceNamespace As String, servicePath As String, suppressRelayPathPrefix As Boolean) As Uri

参数

scheme
String

URI 的方案。

serviceNamespace
String

应用程序使用的服务命名空间。

servicePath
String

URI 的主机名部分后面的服务路径。

suppressRelayPathPrefix
Boolean

如果取消中继路径前缀,则为 True;否则为 false。

返回

Uri

返回包含 Uri 新 URI 的 。

适用于