MqttDisconnectPacketProperties.Code Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The DISCONNECT reason code defined in MQTT 5.0 spec. For MQTT 3.1.1 clients, it's always the default value 0.
[System.Runtime.Serialization.DataMember(Name="code")]
[System.Text.Json.Serialization.JsonPropertyName("code")]
public Microsoft.Azure.WebPubSub.Common.MqttDisconnectReasonCode Code { get; }
[<System.Runtime.Serialization.DataMember(Name="code")>]
[<System.Text.Json.Serialization.JsonPropertyName("code")>]
member this.Code : Microsoft.Azure.WebPubSub.Common.MqttDisconnectReasonCode
Public ReadOnly Property Code As MqttDisconnectReasonCode
Property Value
- Attributes