Table of Contents

Constructor ConnectionPoolAddedConnectionEvent

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

ConnectionPoolAddedConnectionEvent(ConnectionId, TimeSpan, long?)

Initializes a new instance of the ConnectionPoolAddedConnectionEvent struct.

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

Parameters

connectionId ConnectionId

The connection identifier.

duration TimeSpan

The duration of time it took to add the connection to the pool.

operationId long?

The operation identifier.