Enum ConnectivityMode
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Describes the connectivity mode.
public enum ConnectivityMode
Fields
AutoDetect = 2
Auto-detect mode. Automatically selects between the TCP, HTTP and HTTPS modes based on an auto-detection mechanism that probes whether either connectivity option is available for the current network environment. If both are available, the system will choose TCP by default.
Http = 0
HTTP mode. Listeners attempt an HTTP connection followed by an HTTPS connection with the Windows Azure Service Bus service and poll for messages. This might allow you to more easily work around TCP port constraints.
Https = 3
Tcp = 1
TCP mode (default). Listeners create TCP connections to the Windows Azure Service Bus service to a destination port in the range 9350 to 9354.