Share via


MqttTransportSettings(TransportType) Constructor

Definition

Creates an instance based on the specified type options

public MqttTransportSettings (Microsoft.Azure.Devices.Client.TransportType transportType);
new Microsoft.Azure.Devices.Client.Transport.Mqtt.MqttTransportSettings : Microsoft.Azure.Devices.Client.TransportType -> Microsoft.Azure.Devices.Client.Transport.Mqtt.MqttTransportSettings
Public Sub New (transportType As TransportType)

Parameters

transportType
TransportType

The transport type, of Mqtt_WebSocket_Only, or Mqtt_Tcp_Only

Applies to