Table of Contents

Struct ServerHeartbeatFailedEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.Core.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.