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
connectionIdConnectionIdThe connection identifier.
exceptionExceptionThe exception.
awaitedboolThe 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
connectionIdConnectionIdThe connection identifier.
durationTimeSpanThe duration of time passed since corresponding ServerHeartbeatStartedEvent.
exceptionExceptionThe exception.
awaitedboolThe awaited flag.