Constructor ServerHeartbeatSucceededEvent
ServerHeartbeatSucceededEvent(ConnectionId, TimeSpan, bool)
Initializes a new instance of the ServerHeartbeatSucceededEvent struct.
public ServerHeartbeatSucceededEvent(ConnectionId connectionId, TimeSpan duration, bool awaited)
Parameters
connectionIdConnectionIdThe connection identifier.
durationTimeSpanThe duration of time it took to complete the heartbeat.
awaitedboolThe 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
connectionIdConnectionIdThe connection identifier.
durationTimeSpanThe duration of time it took to complete the heartbeat.
awaitedboolThe awaited flag.
replyBsonDocumentThe server response.