Table of Contents

Namespace Azure.Iot.Operations.Mqtt.Session.Exceptions

Classes

MessagePurgedFromQueueException

Thrown by a MqttSessionClient.PublishAsync(MQTTnet.MqttApplicationMessage, CancellationToken) if the message is removed from the queue because the message queue size was reached. Depending on the PendingMessagesOverflowStrategy, this either signals that this message was the first message in the queue when the max queue size was reached or that this message tried to be enqueued when the queue was already at the max queue size.

MqttSessionExpiredException

This exception is thrown when an MQTT session could not be recovered by the client before it expired on the broker.