Table of Contents

Constructor ConnectionPoolRemovedConnectionEvent

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

ConnectionPoolRemovedConnectionEvent(ConnectionId, TimeSpan, long?)

Initializes a new instance of the ConnectionPoolRemovedConnectionEvent struct.

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

Parameters

connectionId ConnectionId

The connection identifier.

duration TimeSpan

The duration of time it took to remove the connection from the pool.

operationId long?

The operation identifier.