ConnectionAfterOpeningEvent Constructor |
This API is preliminary and subject to change.
Namespace: MongoDB.Driver.Core.EventsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax public ConnectionAfterOpeningEvent(
ConnectionId connectionId,
ConnectionSettings connectionSettings,
TimeSpan elapsed
)
Public Sub New (
connectionId As ConnectionId,
connectionSettings As ConnectionSettings,
elapsed As TimeSpan
)
new :
connectionId : ConnectionId *
connectionSettings : ConnectionSettings *
elapsed : TimeSpan -> ConnectionAfterOpeningEvent
Parameters
- connectionId
- Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier. - connectionSettings
- Type: MongoDB.Driver.Core.ConfigurationConnectionSettings
The connection settings. - elapsed
- Type: SystemTimeSpan
The elapsed time.
See Also