ConnectivityMode ConnectivityMode ConnectivityMode ConnectivityMode ConnectivityMode ConnectivityMode Enum

Definition

Sets the underlying wire-level protocol used to communicate with Service Bus.

public enum class ConnectivityMode
public enum class ConnectivityMode
enum ConnectivityMode
public enum ConnectivityMode
type ConnectivityMode = 
Public Enum ConnectivityMode
Inheritance
ConnectivityModeConnectivityModeConnectivityModeConnectivityModeConnectivityModeConnectivityMode

Fields

AutoDetect AutoDetect AutoDetect AutoDetect AutoDetect 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 Http Http Http Http Http 0

HTTP mode. Listeners attempt an HTTP connection followed by an HTTPS connection with the Service Bus service, then wait for messages. This might allow you to more easily work around TCP port constraints.

Https Https Https Https Https Https 3

HTTPS mode. Listeners attempt an HTTPS connection with the Service Bus service, then wait for messages.

Tcp Tcp Tcp Tcp Tcp Tcp 1

TCP mode (default). Listeners create TCP connections to the Service Bus service to a destination port in the range 9350 to 9354.

Remarks

The connectivity mode differs from the TransportType protocol that the service specifies for client communication. The transport type is determined by the binding used. No matter which TransportType you select (NetMessaging or AMQP), the communication occurs over the selected connectivity mode. For example, you can have AMQP occur over TCP or HTTP(S).

Applies to