Constructor ServerHeartbeatSucceededEvent
ServerHeartbeatSucceededEvent(ConnectionId, TimeSpan, bool)
Initializes a new instance of the ServerHeartbeatSucceededEvent struct.
public ServerHeartbeatSucceededEvent(ConnectionId connectionId, TimeSpan duration, bool awaited)
Parameters
connectionId
ConnectionIdThe connection identifier.
duration
TimeSpanThe duration of time it took to complete the heartbeat.
awaited
boolThe awaited flag.
ServerHeartbeatSucceededEvent(ConnectionId, TimeSpan, bool, BsonDocument)
Initializes a new instance of the ServerHeartbeatSucceededEvent struct.
public ServerHeartbeatSucceededEvent(ConnectionId connectionId, TimeSpan duration, bool awaited, BsonDocument reply)
Parameters
connectionId
ConnectionIdThe connection identifier.
duration
TimeSpanThe duration of time it took to complete the heartbeat.
awaited
boolThe awaited flag.
reply
BsonDocumentThe server response.