Class MqttConnectorEventArgs
This argument class is used for mqtt related events, when the connector invokes an event.
Inheritance
System.Object
MqttConnectorEventArgs
Namespace: TeleScope.Connectors.Mqtt.Events
Assembly: TeleScope.Connectors.Mqtt.dll
Syntax
public class MqttConnectorEventArgs : ConnectorEventArgs
Constructors
| Improve this Doc View SourceMqttConnectorEventArgs(String, String)
The basic constructor takes the topic and the message strings and stores it in the properties.
Declaration
public MqttConnectorEventArgs(string topic, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | topic | The topic of the incoming mqtt data. |
System.String | message | The message of the incoming mqtt data. |
Properties
| Improve this Doc View SourceMessage
Gets the message string of the mqtt data.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String |