This topic has not yet been rated - Rate this topic

ServiceBusEnvironment Class

Describes the Service Bus environment.

System.Object
  Microsoft.ServiceBus.ServiceBusEnvironment

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public static class ServiceBusEnvironment

The ServiceBusEnvironment type exposes the following members.

  Name Description
Public property Static member DefaultIdentityHostName Gets the default host name for the Access Control Service.
Public property Static member SystemConnectivity Gets the singleton ConnectivitySettings instance that holds the connectivity settings for TCP and HTTP-based endpoints.
Top
  Name Description
Public method Static member CreateAccessControlUri Creates a URI string to use with access control for the specified .
Public method Static member CreateServiceUri(String, String, String) Constructs the Service Bus URI for an application, using the specified scheme, name, and service path.
Public method Static member CreateServiceUri(String, String, String, Boolean) Constructs the Service Bus URI for an application, using the specified scheme, name, service path, and relayed path prefix.
Top

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 Note

Service Bus endpoint URIs must always use the “sb://” protocol; for example sb://contoso.servicebus.windows.net/helloservicebus.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)