Table of Contents

Struct ConnectionPoolCheckingInConnectionEvent

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

Occurs before a connection is checked in to the pool.

public struct ConnectionPoolCheckingInConnectionEvent
Inherited Members

Constructors

ConnectionPoolCheckingInConnectionEvent(ConnectionId, long?)

Initializes a new instance of the ConnectionPoolCheckingInConnectionEvent struct.

public ConnectionPoolCheckingInConnectionEvent(ConnectionId connectionId, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

operationId long?

The operation identifier.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

ConnectionId

Gets the connection identifier.

public ConnectionId ConnectionId { get; }

Property Value

ConnectionId

OperationId

Gets the operation identifier.

public long? OperationId { get; }

Property Value

long?

ServerId

Gets the server identifier.

public ServerId ServerId { get; }

Property Value

ServerId

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime