ServiceBusEnvironment Class
Describes the Service Bus environment.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
The ServiceBusEnvironment type exposes the following members.
| Name | Description | |
|---|---|---|
|
DefaultIdentityHostName | Gets the default host name for the Access Control Service. |
|
SystemConnectivity | Gets the singleton ConnectivitySettings instance that holds the connectivity settings for TCP and HTTP-based endpoints. |
| Name | Description | |
|---|---|---|
|
CreateAccessControlUri | Creates a URI string to use with access control for the specified . |
|
CreateServiceUri(String, String, String) | Constructs the Service Bus URI for an application, using the specified scheme, name, and service path. |
|
CreateServiceUri(String, String, String, Boolean) | Constructs the Service Bus URI for an application, using the specified scheme, name, service path, and relayed path prefix. |
Service Bus supports only Full Trust code access security.
This class provides information about the current host names for the Service Bus and Access Control endpoints and to the globally effective ConnectivitySettings for all binding-based endpoints that are active in the current application domain.
Note
|
|---|
|
Service Bus endpoint URIs must always use the “sb://” protocol; for example sb://contoso.servicebus.windows.net/helloservicebus. |
Note