ServiceBusEnvironment.CreateServiceUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Returns a Uri that contains the new URI.
Applies to
Azure SDK for .NET