Condividi tramite


IotHubClientMqttSettings Class

Definition

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

public sealed class IotHubClientMqttSettings : Microsoft.Azure.Devices.Client.IotHubClientTransportSettings
type IotHubClientMqttSettings = class
    inherit IotHubClientTransportSettings
Public NotInheritable Class IotHubClientMqttSettings
Inherits IotHubClientTransportSettings
Inheritance
IotHubClientMqttSettings

Constructors

IotHubClientMqttSettings(IotHubClientTransportProtocol)

Creates an instance of this class.

Properties

CertificateRevocationCheck

To enable certificate revocation check.

(Inherited from IotHubClientTransportSettings)
CleanSession

Flag to specify if a subscription should persist across different sessions. The default value is false.

IdleTimeout

Specify client-side heartbeat interval. The interval, that the client establishes with the service, for sending keep alive pings.

Protocol

The configured transport protocol.

(Inherited from IotHubClientTransportSettings)
Proxy

The web proxy that will be used to connect to IoT hub using a web socket connection for AMQP, MQTT, or when using the HTTP protocol.

(Inherited from IotHubClientTransportSettings)
PublishToServerQoS

The QoS to be used when sending packets to service.

ReceivingQoS

The QoS to be used when subscribing to receive packets from the service.

RemoteCertificateValidationCallback

A callback for remote certificate validation.

SslProtocols

The version of TLS to use by default.

(Inherited from IotHubClientTransportSettings)
WebSocketKeepAlive

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

WillMessage

The configured will message that is sent to the telemetry channel on an ungraceful disconnect.

Applies to