Table of Contents

Constructor ConnectionCreatedEvent

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

ConnectionCreatedEvent(ConnectionId, ConnectionSettings, long?)

Initializes a new instance of the ConnectionCreatedEvent struct.

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

Parameters

connectionId ConnectionId

The connection identifier.

connectionSettings ConnectionSettings

The connection settings.

operationId long?

The operation identifier.