Constructor ServerHeartbeatFailedEvent
ServerHeartbeatFailedEvent(ConnectionId, Exception, bool)
Initializes a new instance of the ServerHeartbeatFailedEvent struct.
[Obsolete("Use the other contstructor instead")]
public ServerHeartbeatFailedEvent(ConnectionId connectionId, Exception exception, bool awaited)
Parameters
connectionId
ConnectionIdThe connection identifier.
exception
ExceptionThe exception.
awaited
boolThe awaited flag.
ServerHeartbeatFailedEvent(ConnectionId, TimeSpan, Exception, bool)
Initializes a new instance of the ServerHeartbeatFailedEvent struct.
public ServerHeartbeatFailedEvent(ConnectionId connectionId, TimeSpan duration, Exception exception, bool awaited)
Parameters
connectionId
ConnectionIdThe connection identifier.
duration
TimeSpanThe duration of time passed since corresponding ServerHeartbeatStartedEvent.
exception
ExceptionThe exception.
awaited
boolThe awaited flag.