Disconnected event
An event indicating disconnection from the broker. This event will be triggered when the client disconnects from the broker.
Syntax
mqttClient
_Disconnected
(ByVal
eventArgs As
MQTTDisconnectedEvent
)where
mqttClient
- is an MQTTClient object created by the MQTTFactory object's method CreateClient
.Example
Private Sub mqttClient_Disconnected(ByVal disconnEvent As MQTTDisconnectedEvent) Dim msgText As String msgText = disconnEvent.Description End Sub
Provide Feedback