Table of Contents

Enum MqttRetainHandeling

Namespace
nanoFramework.M2Mqtt.Messages
Assembly
nanoFramework.M2Mqtt.dll

Retain Handling option. This option specifies whether retained messages are sent when the subscription is established. This does not affect the sending of retained messages at any point after the subscribe. If there are no retained messages matching the Topic Filter, all of these values act the same.

public enum MqttRetainHandeling

Fields

AllTime = 0

Send retained messages at the time of the subscribe

NoRetain = 2

Do not send retained messages at the time of the subscribe

SubscribeTimeOnly = 1

Send retained messages at subscribe only if the subscription does not currently exist