ServiceBusEnvironment.CreateServiceUri Method

Definition

Overloads

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)

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

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

The scheme of the URI.

serviceNamespace
String

The service namespace used by the application.

servicePath
String

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

Returns

Uri

Returns a Uri that contains the new URI.

Applies to

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

The scheme of the URI.

serviceNamespace
String

The service namespace used by the application.

servicePath
String

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

suppressRelayPathPrefix
Boolean

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

Returns

Uri

Returns a Uri that contains the new URI.

Applies to