Constructor ReplyMessage
- Namespace
- MongoDB.Driver.Core.WireProtocol.Messages
- Assembly
- MongoDB.Driver.Core.dll
ReplyMessage(bool, long, bool, List<TDocument>, int, bool, BsonDocument, int, int, IBsonSerializer<TDocument>, int)
Initializes a new instance of the ReplyMessage<TDocument> class.
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
awaitCapableboolif set to
truethe server is await capable.cursorIdlongThe cursor identifier.
cursorNotFoundboolif set to
truethe cursor was not found.documentsList<TDocument>The documents.
numberReturnedintThe number of documents returned.
queryFailureboolif set to
truethe query failed.queryFailureDocumentBsonDocumentThe query failure document.
requestIdintThe request identifier.
responseTointThe identifier of the message this is a response to.
serializerIBsonSerializer<TDocument>The serializer.
startingFromintThe position of the first document in this batch in the overall result.