Struct ConnectionPoolCheckedOutConnectionEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs after a connection is checked out of the pool.

public struct ConnectionPoolCheckedOutConnectionEvent

Inherited Members

Constructors

ConnectionPoolCheckedOutConnectionEvent(ConnectionId, TimeSpan, long?)

Initializes a new instance of the ConnectionPoolCheckedOutConnectionEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

Duration

Gets the duration of time it took to check out the connection.

OperationId

Gets the operation identifier.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.