Sdílet prostřednictvím


ProvisioningTransportHandlerAmqp(TransportFallbackType) Constructor

Definition

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

public ProvisioningTransportHandlerAmqp (Microsoft.Azure.Devices.Shared.TransportFallbackType transportFallbackType = Microsoft.Azure.Devices.Shared.TransportFallbackType.TcpWithWebSocketFallback);
new Microsoft.Azure.Devices.Provisioning.Client.Transport.ProvisioningTransportHandlerAmqp : Microsoft.Azure.Devices.Shared.TransportFallbackType -> Microsoft.Azure.Devices.Provisioning.Client.Transport.ProvisioningTransportHandlerAmqp
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