IConnectionListenerConnectionBeforeOpening Method |
This API is preliminary and subject to change.
An event that occurs before opening a connection.
Namespace: MongoDB.Driver.Core.EventsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax void ConnectionBeforeOpening(
ConnectionBeforeOpeningEvent event
)
Sub ConnectionBeforeOpening (
event As ConnectionBeforeOpeningEvent
)
abstract ConnectionBeforeOpening :
event : ConnectionBeforeOpeningEvent -> unit
Parameters
- event
- Type: MongoDB.Driver.Core.EventsConnectionBeforeOpeningEvent
The event.
See Also