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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET