Table of Contents

Constructor ConnectionOpeningEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.Core.dll

ConnectionOpeningEvent(ConnectionId, ConnectionSettings, long?)

Initializes a new instance of the ConnectionOpeningEvent struct.

public ConnectionOpeningEvent(ConnectionId connectionId, ConnectionSettings connectionSettings, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

connectionSettings ConnectionSettings

The connection settings.

operationId long?

The operation identifier.