Class MqttMsgUnsubscribeEventArgs
- Namespace
- nanoFramework.M2Mqtt.Messages
- Assembly
- nanoFramework.M2Mqtt.Core.dll
Represents the event arguments for unsubscribe request on topics.
public class MqttMsgUnsubscribeEventArgs : EventArgs
- Inheritance
-
MqttMsgUnsubscribeEventArgs
- Inherited Members
- Extension Methods
Constructors
MqttMsgUnsubscribeEventArgs(ushort, string[])
Initializes a new instance of the MqttMsgUnsubscribeEventArgs class with the specified message identifier and topics.
public MqttMsgUnsubscribeEventArgs(ushort messageId, string[] topics)
Parameters
messageId
ushortThe message identifier for subscribed topics.
topics
string[]The topics requested to unsubscribe from.
Properties
MessageId
Gets the message identifier.
public ushort MessageId { get; }
Property Value
Topics
Gets the topics requested to subscribe.
public string[] Topics { get; }
Property Value
- string[]