Class SessionClosedException
- Namespace
- Azure.Iot.Operations.Mqtt.Session.Exceptions
- Assembly
- Azure.Iot.Operations.Mqtt.dll
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.
public class SessionClosedException : Exception, ISerializable
- Inheritance
-
SessionClosedException
- Implements
- Inherited Members
Constructors
SessionClosedException(string)
public SessionClosedException(string message)
Parameters
messagestring