Table of Contents

Constructor ConnectionFailedEvent

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

ConnectionFailedEvent(ConnectionId, Exception)

Initializes a new instance of the ConnectionFailedEvent struct.

public ConnectionFailedEvent(ConnectionId connectionId, Exception exception)

Parameters

connectionId ConnectionId

The connection identifier.

exception Exception

The exception.