Click or drag to resize

MongoCursorNotFoundException Constructor (ConnectionId, Int64, BsonDocument)

Initializes a new instance of the MongoCursorNotFoundException class.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public MongoCursorNotFoundException(
	ConnectionId connectionId,
	long cursorId,
	BsonDocument query
)

Parameters

connectionId
Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier.
cursorId
Type: SystemInt64
The cursor identifier.
query
Type: MongoDB.BsonBsonDocument
The query.
See Also