共用方式為


EventGridModelFactory.SignalRServiceClientConnectionConnectedEventData Method

Definition

Initializes a new instance of SignalRServiceClientConnectionConnectedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.SignalRServiceClientConnectionConnectedEventData SignalRServiceClientConnectionConnectedEventData (DateTimeOffset? timestamp = default, string hubName = default, string connectionId = default, string userId = default);
static member SignalRServiceClientConnectionConnectedEventData : Nullable<DateTimeOffset> * string * string * string -> Azure.Messaging.EventGrid.SystemEvents.SignalRServiceClientConnectionConnectedEventData
Public Shared Function SignalRServiceClientConnectionConnectedEventData (Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional hubName As String = Nothing, Optional connectionId As String = Nothing, Optional userId As String = Nothing) As SignalRServiceClientConnectionConnectedEventData

Parameters

timestamp
Nullable<DateTimeOffset>

The time at which the event occurred.

hubName
String

The hub of connected client connection.

connectionId
String

The connection Id of connected client connection.

userId
String

The user Id of connected client connection.

Returns

A new SignalRServiceClientConnectionConnectedEventData instance for mocking.

Applies to