ServiceBusEnvironment.CreateServiceUri ServiceBusEnvironment.CreateServiceUri ServiceBusEnvironment.CreateServiceUri Method

Definition

Overloads

CreateServiceUri(String, String, String) CreateServiceUri(String, String, String) CreateServiceUri(String, String, String)

Constructs the Service Bus URI for an application, using the specified scheme, service namespace, and service path.

CreateServiceUri(String, String, String, Boolean) CreateServiceUri(String, String, String, Boolean) CreateServiceUri(String, String, String, Boolean)

Constructs the Service Bus URI for an application, using the specified scheme, service namespace, service path, and relayed path prefix.

CreateServiceUri(String, String, String) CreateServiceUri(String, String, String) CreateServiceUri(String, String, String)

Constructs the Service Bus URI for an application, using the specified scheme, service namespace, and service path.

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

Parameters

scheme
String String String

The scheme of the URI.

serviceNamespace
String String String

The service namespace used by the application.

servicePath
String String String

The service path that follows the host name section of the URI.

Returns

Returns a Uri that contains the new URI.

CreateServiceUri(String, String, String, Boolean) CreateServiceUri(String, String, String, Boolean) CreateServiceUri(String, String, String, Boolean)

Constructs the Service Bus URI for an application, using the specified scheme, service namespace, service path, and relayed path prefix.

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

Parameters

scheme
String String String

The scheme of the URI.

serviceNamespace
String String String

The service namespace used by the application.

servicePath
String String String

The service path that follows the host name section of the URI.

suppressRelayPathPrefix
Boolean Boolean Boolean

True if the relay path prefix is suppressed; otherwise, false.

Returns

Returns a Uri that contains the new URI.

Applies to