Struct ServerHeartbeatSucceededEvent

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs when a heartbeat succeeded.

public struct ServerHeartbeatSucceededEvent

Inherited Members

Constructors

ServerHeartbeatSucceededEvent(ConnectionId, TimeSpan, bool)

Initializes a new instance of the ServerHeartbeatSucceededEvent struct.

ServerHeartbeatSucceededEvent(ConnectionId, TimeSpan, bool, BsonDocument)

Initializes a new instance of the ServerHeartbeatSucceededEvent struct.

Properties

Awaited

Determines if this heartbeat event is for an awaitable hello.

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

Duration

Gets the duration of time it took to complete the heartbeat.

Reply

Gets the server response.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.