Table of Contents

Constructor ConnectionPoolCheckedOutConnectionEvent

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

ConnectionPoolCheckedOutConnectionEvent(ConnectionId, TimeSpan, long?)

Initializes a new instance of the ConnectionPoolCheckedOutConnectionEvent struct.

public ConnectionPoolCheckedOutConnectionEvent(ConnectionId connectionId, TimeSpan duration, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

duration TimeSpan

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

operationId long?

The operation identifier.