ProvisioningTransportHandlerMqtt Class

Definition

Represents the MQTT protocol implementation for the Provisioning Transport Handler.

public class ProvisioningTransportHandlerMqtt : Microsoft.Azure.Devices.Provisioning.Client.Transport.ProvisioningTransportHandler
type ProvisioningTransportHandlerMqtt = class
    inherit ProvisioningTransportHandler
Public Class ProvisioningTransportHandlerMqtt
Inherits ProvisioningTransportHandler
Inheritance
ProvisioningTransportHandlerMqtt

Constructors

ProvisioningTransportHandlerMqtt(TransportFallbackType)

Creates an instance of the ProvisioningTransportHandlerMqtt class using the specified fallback type.

Properties

FallbackType

The fallback type. This allows direct or WebSocket connections.

InnerHandler

Gets or sets the inner handler.

(Inherited from ProvisioningTransportHandler)
Port

Gets or sets the port number.

(Inherited from ProvisioningTransportHandler)
Proxy

Gets or sets the proxy for Provisioning Client operations.

(Inherited from ProvisioningTransportHandler)
RemoteCertificateValidationCallback

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

(Inherited from ProvisioningTransportHandler)

Methods

Dispose()

Releases the unmanaged resources and disposes of the managed resources used by the invoker.

(Inherited from ProvisioningTransportHandler)
Dispose(Boolean)

Releases the unmanaged resources used by the ProvisioningTransportHandler and optionally disposes of the managed resources.

RegisterAsync(ProvisioningTransportRegisterMessage, CancellationToken)

Registers a device described by the message.

RegisterAsync(ProvisioningTransportRegisterMessage, TimeSpan)

Registers a device described by the message.

Applies to