EventGridModelFactory.SignalRServiceClientConnectionDisconnectedEventData Method
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.
Initializes a new instance of SignalRServiceClientConnectionDisconnectedEventData.
public static Azure.Messaging.EventGrid.SystemEvents.SignalRServiceClientConnectionDisconnectedEventData SignalRServiceClientConnectionDisconnectedEventData (DateTimeOffset? timestamp = default, string hubName = default, string connectionId = default, string userId = default, string errorMessage = default);
static member SignalRServiceClientConnectionDisconnectedEventData : Nullable<DateTimeOffset> * string * string * string * string -> Azure.Messaging.EventGrid.SystemEvents.SignalRServiceClientConnectionDisconnectedEventData
Public Shared Function SignalRServiceClientConnectionDisconnectedEventData (Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional hubName As String = Nothing, Optional connectionId As String = Nothing, Optional userId As String = Nothing, Optional errorMessage As String = Nothing) As SignalRServiceClientConnectionDisconnectedEventData
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.
- errorMessage
- String
The message of error that cause the client connection disconnected.
Returns
A new SignalRServiceClientConnectionDisconnectedEventData instance for mocking.