Disconnect method

Disconnects the client from the broker.
Syntax
mqttClient
.
Disconnect
(
reasonCode
As
MqttDisconnectionCode
)
where
mqttClient
- is an MQTTClient object created by the MQTTFactory object's method
CreateClient
.
reasonCode
- is a constant of the MqttDisconnectionCode object.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal