Export (0) Print
Expand All

ServiceBusEnvironment Class

Describes the Windows Azure Service Bus environment.


Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public static class ServiceBusEnvironment

The ServiceBusEnvironment type exposes the following members.

Public propertyStatic memberDefaultIdentityHostNameGets the default host name for the Windows Azure Access Control Service.
Public propertyStatic memberSystemConnectivityGets the singleton ConnectivitySettings instance that holds the connectivity settings for TCP and HTTP-based endpoints.

Public methodStatic memberCreateAccessControlUriCreates a URI string to use with access control for the specified .
Public methodStatic memberCreateServiceUri(String, String, String)Constructs the Windows Azure Service Bus URI for an application, using the specified scheme, name, and service path.
Public methodStatic memberCreateServiceUri(String, String, String, Boolean)Constructs the Windows Azure Service Bus URI for an application, using the specified scheme, name, service path, and relayed path prefix.

Windows Azure Service Bus supports only Full Trust code access security.

This class provides information about the current host names for the Windows Azure Service Bus and Windows Azure Access Control endpoints and to the globally effective ConnectivitySettings for all binding-based endpoints that are active in the current application domain.


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.

Community Additions

© 2014 Microsoft