IConnectionPoolListenerConnectionPoolBeforeRemovingAConnection Method |
This API is preliminary and subject to change.
An event that occurs before removing a connection from a connection pool.
Namespace: MongoDB.Driver.Core.EventsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax void ConnectionPoolBeforeRemovingAConnection(
ConnectionPoolBeforeRemovingAConnectionEvent event
)
Sub ConnectionPoolBeforeRemovingAConnection (
event As ConnectionPoolBeforeRemovingAConnectionEvent
)
abstract ConnectionPoolBeforeRemovingAConnection :
event : ConnectionPoolBeforeRemovingAConnectionEvent -> unit
Parameters
- event
- Type: MongoDB.Driver.Core.EventsConnectionPoolBeforeRemovingAConnectionEvent
The event.
See Also