Table of Contents

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 ushort

The 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

ushort

Topics

Gets the topics requested to subscribe.

public string[] Topics { get; }

Property Value

string[]