Table of Contents

Struct ServerHeartbeatStartedEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.Core.dll

Occurs before heartbeat is issued.

public struct ServerHeartbeatStartedEvent
Inherited Members

Constructors

ServerHeartbeatStartedEvent(ConnectionId, bool)

Initializes a new instance of the ServerHeartbeatStartedEvent struct.

public ServerHeartbeatStartedEvent(ConnectionId connectionId, bool awaited)

Parameters

connectionId ConnectionId

The connection identifier.

awaited bool

The awaited flag.

Properties

Awaited

Determines if this heartbeat event is for an awaitable hello.

public bool Awaited { get; }

Property Value

bool

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

ConnectionId

Gets the connection identifier.

public ConnectionId ConnectionId { get; }

Property Value

ConnectionId

ServerId

Gets the server identifier.

public ServerId ServerId { get; }

Property Value

ServerId

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime