Struct ServerHeartbeatFailedEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs when a heartbeat failed.

public struct ServerHeartbeatFailedEvent

Inherited Members

Constructors

ServerHeartbeatFailedEvent(ConnectionId, Exception, bool)

Initializes a new instance of the ServerHeartbeatFailedEvent struct.

ServerHeartbeatFailedEvent(ConnectionId, TimeSpan, Exception, bool)

Initializes a new instance of the ServerHeartbeatFailedEvent 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 passed since corresponding ServerHeartbeatStartedEvent.

Exception

Gets the exception.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.