Partilhar via


ProvisioningTransportHandlerMqtt(TransportFallbackType) Construtor

Definição

Cria uma instância da classe ProvisioningTransportHandlerMqtt usando o tipo de fallback especificado.

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)

Parâmetros

transportFallbackType
TransportFallbackType

O tipo de fallback que permite conexões diretas ou WebSocket.

Aplica-se a