Constructor ConnectionPoolRemovedConnectionEvent
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.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.