Table of Contents

Constructor ConnectionOpeningFailedEvent

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

ConnectionOpeningFailedEvent(ConnectionId, ConnectionSettings, Exception, long?)

Initializes a new instance of the ConnectionOpeningFailedEvent struct.

public ConnectionOpeningFailedEvent(ConnectionId connectionId, ConnectionSettings connectionSettings, Exception exception, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

connectionSettings ConnectionSettings

The connection settings.

exception Exception

The exception.

operationId long?

The operation identifier.