Enum TransportType
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
An enumeration that sets the messaging protocol to either NetMessaging (a proprietary protocol to Azure Service Bus) or AMQP (an industry standard).
public enum TransportType
Fields
Amqp = 1
The Advanced Message Queuing Protocol (AMQP) transport type.
NetMessaging = 0
The network messaging transport type.
Remarks
Although NetMessaging is the default value, AMQP is the preferred protocol. No matter which transport type you select (NetMessaging or AMQP), the communication occurs over the selected ConnectivityMode. For example, you can have AMQP occur over TCP or HTTP(S).