Share via


EventGridModelFactory.EventGridMqttClientSessionConnectedEventData Method

Definition

Initializes a new instance of EventGridMqttClientSessionConnectedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.EventGridMqttClientSessionConnectedEventData EventGridMqttClientSessionConnectedEventData (string clientAuthenticationName = default, string clientName = default, string namespaceName = default, string clientSessionName = default, long? sequenceNumber = default);
static member EventGridMqttClientSessionConnectedEventData : string * string * string * string * Nullable<int64> -> Azure.Messaging.EventGrid.SystemEvents.EventGridMqttClientSessionConnectedEventData
Public Shared Function EventGridMqttClientSessionConnectedEventData (Optional clientAuthenticationName As String = Nothing, Optional clientName As String = Nothing, Optional namespaceName As String = Nothing, Optional clientSessionName As String = Nothing, Optional sequenceNumber As Nullable(Of Long) = Nothing) As EventGridMqttClientSessionConnectedEventData

Parameters

clientAuthenticationName
String

Unique identifier for the MQTT client that the client presents to the service for authentication. This case-sensitive string can be up to 128 characters long, and supports UTF-8 characters.

clientName
String

Name of the client resource in the Event Grid namespace.

namespaceName
String

Name of the Event Grid namespace where the MQTT client was created or updated.

clientSessionName
String

Unique identifier for the MQTT client's session. This case-sensitive string can be up to 128 characters long, and supports UTF-8 characters.

sequenceNumber
Nullable<Int64>

A number that helps indicate order of MQTT client session connected or disconnected events. Latest event will have a sequence number that is higher than the previous event.

Returns

A new EventGridMqttClientSessionConnectedEventData instance for mocking.

Applies to