Click or drag to resize
ConnectionAfterOpeningEvent Constructor
This API is preliminary and subject to change.
Initializes a new instance of the ConnectionAfterOpeningEvent struct.

Namespace: MongoDB.Driver.Core.Events
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax
public ConnectionAfterOpeningEvent(
	ConnectionId connectionId,
	ConnectionSettings connectionSettings,
	TimeSpan elapsed
)

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