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.
- SessionClosedException
This exception is thrown by a MqttSessionClient if and only if the MqttSessionClientOptions flag for ThrowIfUsedWhenSessionInactive is set and that session client attempts to publish/subscribe/unsubscribe while the session client's MQTT connection is closed and the session client is not attempting to reconnect.