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