Class ServiceBusEnvironment
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Describes the Service Bus environment.
public static class ServiceBusEnvironment
- Inheritance
-
ServiceBusEnvironment
- Inherited Members
Properties
DefaultIdentityHostName
Gets the default host name for the Access Control Service.
public static string DefaultIdentityHostName { get; }
Property Value
- string
Returns the default identity host name.
SystemConnectivity
Gets the singleton ConnectivitySettings instance that holds the connectivity settings for TCP and HTTP-based endpoints.
public static ConnectivitySettings SystemConnectivity { get; }
Property Value
- ConnectivitySettings
Returns a ConnectivitySettings that contains the connectivity settings.
Methods
CreateAccessControlUri(string)
Creates a URI string to use with access control for the specified service namespace.
public static Uri CreateAccessControlUri(string serviceNamespace)
Parameters
serviceNamespace
stringThe service namespace to create the URI for.
Returns
- Uri
Returns a System.Uri that contains the specified URI.
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)
Parameters
scheme
stringThe scheme of the URI.
serviceNamespace
stringThe service namespace used by the application.
servicePath
stringThe service path that follows the host name section of the URI.
Returns
- Uri
Returns a System.Uri that contains the new URI.
CreateServiceUri(string, string, string, bool)
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)
Parameters
scheme
stringThe scheme of the URI.
serviceNamespace
stringThe service namespace used by the application.
servicePath
stringThe service path that follows the host name section of the URI.
suppressRelayPathPrefix
boolTrue if the relay path prefix is suppressed; otherwise, false.
Returns
- Uri
Returns a System.Uri that contains the new URI.