ProvisioningTransportHandlerMqtt(TransportFallbackType) Constructor

Definition

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

public ProvisioningTransportHandlerMqtt (Microsoft.Azure.Devices.Shared.TransportFallbackType transportFallbackType = Microsoft.Azure.Devices.Shared.TransportFallbackType.TcpWithWebSocketFallback);
new Microsoft.Azure.Devices.Provisioning.Client.Transport.ProvisioningTransportHandlerMqtt : Microsoft.Azure.Devices.Shared.TransportFallbackType -> Microsoft.Azure.Devices.Provisioning.Client.Transport.ProvisioningTransportHandlerMqtt
Public Sub New (Optional transportFallbackType As TransportFallbackType = Microsoft.Azure.Devices.Shared.TransportFallbackType.TcpWithWebSocketFallback)

Parameters

transportFallbackType
TransportFallbackType

The fallback type allowing direct or WebSocket connections.

Applies to