MqttTransportSettings(TransportType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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