Table of Contents

Constructor MongoCursorNotFoundException

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

MongoCursorNotFoundException(ConnectionId, long, BsonDocument)

Initializes a new instance of the MongoCursorNotFoundException class.

public MongoCursorNotFoundException(ConnectionId connectionId, long cursorId, BsonDocument query)

Parameters

connectionId ConnectionId

The connection identifier.

cursorId long

The cursor identifier.

query BsonDocument

The query.

MongoCursorNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoCursorNotFoundException class.

protected MongoCursorNotFoundException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The information.

context StreamingContext

The context.