Click or drag to resize

ReplyMessageTDocument Constructor

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public ReplyMessage(
	bool awaitCapable,
	long cursorId,
	bool cursorNotFound,
	List<TDocument> documents,
	int numberReturned,
	bool queryFailure,
	BsonDocument queryFailureDocument,
	int requestId,
	int responseTo,
	IBsonSerializer<TDocument> serializer,
	int startingFrom
)

Parameters

awaitCapable
Type: SystemBoolean
if set to true the server is await capable.
cursorId
Type: SystemInt64
The cursor identifier.
cursorNotFound
Type: SystemBoolean
if set to true the cursor was not found.
documents
Type: System.Collections.GenericListTDocument
The documents.
numberReturned
Type: SystemInt32
The number of documents returned.
queryFailure
Type: SystemBoolean
if set to true the query failed.
queryFailureDocument
Type: MongoDB.BsonBsonDocument
The query failure document.
requestId
Type: SystemInt32
The request identifier.
responseTo
Type: SystemInt32
The identifier of the message this is a response to.
serializer
Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The serializer.
startingFrom
Type: SystemInt32
The position of the first document in this batch in the overall result.
See Also