MqttDisconnectPacketProperties Class
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.
Represents the properties of an MQTT DISCONNECT packet.
[System.Runtime.Serialization.DataContract]
[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Azure.WebPubSub.Common.MqttDisconnectPacketPropertiesJsonConverter))]
public class MqttDisconnectPacketProperties
[<System.Runtime.Serialization.DataContract>]
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Azure.WebPubSub.Common.MqttDisconnectPacketPropertiesJsonConverter))>]
type MqttDisconnectPacketProperties = class
Public Class MqttDisconnectPacketProperties
- Inheritance
-
MqttDisconnectPacketProperties
- Attributes
Properties
Code |
The DISCONNECT reason code defined in MQTT 5.0 spec. For MQTT 3.1.1 clients, it's always the default value 0. |
UserProperties |
The user properties in the DISCONNECT packet sent by the client. The value is not null only if the client sent a DISCONNECT packet with user properties. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET