Share via


MqttConnectEventErrorResponse Class

Definition

Represents the response properties of an MQTT connection failure.

[System.Runtime.Serialization.DataContract]
[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Azure.WebPubSub.Common.MqttConnectEventErrorResponseJsonConverter))]
public class MqttConnectEventErrorResponse : Microsoft.Azure.WebPubSub.Common.EventErrorResponse
[<System.Runtime.Serialization.DataContract>]
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Azure.WebPubSub.Common.MqttConnectEventErrorResponseJsonConverter))>]
type MqttConnectEventErrorResponse = class
    inherit EventErrorResponse
Public Class MqttConnectEventErrorResponse
Inherits EventErrorResponse
Inheritance
MqttConnectEventErrorResponse
Attributes

Constructors

MqttConnectEventErrorResponse(MqttV311ConnectReturnCode, String)

Creates an instance of MqttConnectEventErrorResponse.

MqttConnectEventErrorResponse(MqttV500ConnectReasonCode, String)

Creates an instance of MqttConnectEventErrorResponse.

Properties

Code

Error code.

(Inherited from EventErrorResponse)
ErrorMessage

Error messages.

(Inherited from EventErrorResponse)
Mqtt

Represents the properties of an MQTT connection failure response.

Applies to