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