Table of Contents

Constructor MongoConnectionClosedException

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

MongoConnectionClosedException(ConnectionId)

Initializes a new instance of the MongoConnectionClosedException class.

public MongoConnectionClosedException(ConnectionId connectionId)

Parameters

connectionId ConnectionId

The connection identifier.

MongoConnectionClosedException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoConnectionClosedException class.

protected MongoConnectionClosedException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.