ProvisioningTransportHandlerAmqp Class

Definition

Represents the AMQP protocol implementation for the Provisioning Transport Handler.

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

Constructors

ProvisioningTransportHandlerAmqp(TransportFallbackType)

Creates an instance of the ProvisioningTransportHandlerAmqp 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.

(Inherited from ProvisioningTransportHandler)
RegisterAsync(ProvisioningTransportRegisterMessage, CancellationToken)

Registers a device described by the message. Because the AMQP library does not accept cancellation tokens, the provided cancellation token will only be checked for cancellation between AMQP operations. The timeout will be respected during the AMQP operations.

RegisterAsync(ProvisioningTransportRegisterMessage, TimeSpan)

Registers a device described by the message.

RegisterAsync(ProvisioningTransportRegisterMessage, TimeSpan)

Registers a device described by the message.

(Inherited from ProvisioningTransportHandler)

Applies to