Holds the connectivity settings effective for all Windows Azure Service Bus-based endpoints that are active in the current application domain.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Thetype exposes the following members.
Windows Azure Service Bus supports only Full Trust code access security.
The reason for these setting being shared is that the connectivity path to the Windows Azure Service Bus fabric is commonly identical across all endpoints in the same process—that is, the process being located on a machine residing in a tightly managed corporate networking environment that will only permit outbound HTTP traffic without exceptions for the TCP ports required by the other bindings.
By default, all service endpoints listening for messages using one of these two bindings will connect up to the Windows Azure Service Bus fabric using outbound TCP port 828 (for SSL-protected connections) or outbound TCP port 808.
You set the connectivity mode at the AppDomain-level through ServiceBusEnvironment. ServiceBusEnvironment provides a SystemConnectivity property where you can specify the system connectivity. You will usually set the Windows Azure Service Bus environment settings at the beginning of your application, if you need to change the default behavior for your application.