Class MqttClientDisconnectOptions
- Namespace
- Azure.Iot.Operations.Protocol.Models
- Assembly
- Azure.Iot.Operations.Protocol.dll
public sealed class MqttClientDisconnectOptions
- Inheritance
-
MqttClientDisconnectOptions
- Inherited Members
Properties
Reason
Gets or sets the reason code.
public MqttClientDisconnectOptionsReason Reason { get; set; }
Property Value
ReasonString
Gets or sets the reason string.
public string? ReasonString { get; set; }
Property Value
SessionExpiryInterval
Gets or sets the session expiry interval.
public uint SessionExpiryInterval { get; set; }
Property Value
UserProperties
Gets or sets the user properties.
public List<MqttUserProperty>? UserProperties { get; set; }
Property Value
Methods
AddUserProperty(string, string)
public void AddUserProperty(string name, string value)