共用方式為


AmqpTransportSettings Constructors

Definition

Overloads

AmqpTransportSettings(TransportType)

Initializes a new instance of this class.

AmqpTransportSettings(TransportType, UInt32)

Initializes a new instance of this class.

AmqpTransportSettings(TransportType, UInt32, AmqpConnectionPoolSettings)

Initializes a new instance of this class.

AmqpTransportSettings(TransportType)

Initializes a new instance of this class.

public AmqpTransportSettings (Microsoft.Azure.Devices.Client.TransportType transportType);
new Microsoft.Azure.Devices.Client.AmqpTransportSettings : Microsoft.Azure.Devices.Client.TransportType -> Microsoft.Azure.Devices.Client.AmqpTransportSettings
Public Sub New (transportType As TransportType)

Parameters

transportType
TransportType

The AMQP transport type.

Applies to

AmqpTransportSettings(TransportType, UInt32)

Initializes a new instance of this class.

public AmqpTransportSettings (Microsoft.Azure.Devices.Client.TransportType transportType, uint prefetchCount);
new Microsoft.Azure.Devices.Client.AmqpTransportSettings : Microsoft.Azure.Devices.Client.TransportType * uint32 -> Microsoft.Azure.Devices.Client.AmqpTransportSettings
Public Sub New (transportType As TransportType, prefetchCount As UInteger)

Parameters

transportType
TransportType

The AMQP transport type.

prefetchCount
UInt32

The pre-fetch count.

Applies to

AmqpTransportSettings(TransportType, UInt32, AmqpConnectionPoolSettings)

Initializes a new instance of this class.

public AmqpTransportSettings (Microsoft.Azure.Devices.Client.TransportType transportType, uint prefetchCount, Microsoft.Azure.Devices.Client.AmqpConnectionPoolSettings amqpConnectionPoolSettings);
new Microsoft.Azure.Devices.Client.AmqpTransportSettings : Microsoft.Azure.Devices.Client.TransportType * uint32 * Microsoft.Azure.Devices.Client.AmqpConnectionPoolSettings -> Microsoft.Azure.Devices.Client.AmqpTransportSettings
Public Sub New (transportType As TransportType, prefetchCount As UInteger, amqpConnectionPoolSettings As AmqpConnectionPoolSettings)

Parameters

transportType
TransportType

The AMQP transport type.

prefetchCount
UInt32

The pre-fetch count.

amqpConnectionPoolSettings
AmqpConnectionPoolSettings

AMQP connection pool settings.

Applies to