AmqpTransportSettings Class

Definition

Contains Amqp transport-specific settings for the device and module clients.

public sealed class AmqpTransportSettings : Microsoft.Azure.Devices.Client.ITransportSettings
type AmqpTransportSettings = class
    interface ITransportSettings
Public NotInheritable Class AmqpTransportSettings
Implements ITransportSettings
Inheritance
AmqpTransportSettings
Implements

Constructors

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.

Fields

DefaultIdleTimeout

The default idle timeout

DefaultOpenTimeout

The default open timeout

DefaultOperationTimeout

The default operation timeout

DefaultPrefetchCount

The default pre-fetch count

Properties

AmqpConnectionPoolSettings

The connection pool settings for AMQP

CertificateRevocationCheck

To enable certificate revocation check. Default to be false.

ClientCertificate

The client certificate to use for authenticating

DefaultReceiveTimeout

The time to wait for a receive operation. The default value is 1 minute.

IdleTimeout

Specify client-side heartbeat interval. The interval, that the client establishes with the service, for sending keep alive pings. The default value is 2 minutes.

OpenTimeout

The open timeout. The default is 1 minute.

OperationTimeout

The time to wait for any operation to complete. The default is 1 minute.

PrefetchCount

The pre-fetch count

Proxy

The proxy

RemoteCertificateValidationCallback

A callback for remote certificate validation. If incorrectly implemented, your device may fail to connect to IoTHub and/or be open to security vulnerabilities.

WebSocketKeepAlive

A keep-alive for the transport layer in sending ping/pong control frames when using web sockets.

Methods

Equals(AmqpTransportSettings)

Compares the properties of this instance to another

GetTransportType()

Returns the configured transport type

Applies to