Freigeben über


MqttConnectEventResponse Class

Definition

Successful response for MQTT connect event.

[System.Runtime.Serialization.DataContract]
public sealed class MqttConnectEventResponse : Microsoft.Azure.WebPubSub.Common.ConnectEventResponse
[<System.Runtime.Serialization.DataContract>]
type MqttConnectEventResponse = class
    inherit ConnectEventResponse
Public NotInheritable Class MqttConnectEventResponse
Inherits ConnectEventResponse
Inheritance
Attributes

Constructors

Name Description
MqttConnectEventResponse()

Default constructor for JsonSerialize.

MqttConnectEventResponse(String, IEnumerable<String>, IEnumerable<String>)

Creates a new instance of MqttConnectEventResponse.

Properties

Name Description
ConnectionStates

The connection states.

(Inherited from ConnectEventResponse)
Groups

Groups.

(Inherited from ConnectEventResponse)
Mqtt

Represents the MQTT specific properties in a successful MQTT connection event response.

Roles

User roles.

(Inherited from ConnectEventResponse)
Subprotocol

Subprotocol.

(Inherited from ConnectEventResponse)
UserId

UserId.

(Inherited from ConnectEventResponse)

Methods

Name Description
ClearStates()

Clear all states.

(Inherited from ConnectEventResponse)
SetState(String, BinaryData)

Set connection states.

(Inherited from ConnectEventResponse)

Applies to