Table of Contents

Constructor ConnectionClosingEvent

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

ConnectionClosingEvent(ConnectionId, long?)

Initializes a new instance of the ConnectionClosingEvent struct.

public ConnectionClosingEvent(ConnectionId connectionId, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

operationId long?

The operation identifier.