Table of Contents

Struct ConnectionPoolCheckingOutConnectionEvent

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

Occurs before a connection is checked out of the pool.

public struct ConnectionPoolCheckingOutConnectionEvent
Inherited Members

Constructors

ConnectionPoolCheckingOutConnectionEvent(ServerId, long?)

Initializes a new instance of the ConnectionPoolCheckingOutConnectionEvent struct.

public ConnectionPoolCheckingOutConnectionEvent(ServerId serverId, long? operationId)

Parameters

serverId ServerId

The server identifier.

operationId long?

The operation identifier.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

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