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