Class ReplyMessage<TDocument>
- Namespace
- MongoDB.Driver.Core.WireProtocol.Messages
- Assembly
- MongoDB.Driver.Core.dll
Represents a Reply message.
public class ReplyMessage<TDocument> : ResponseMessage, IEncodableMessageType Parameters
- TDocument
- The type of the document. 
- Inheritance
- 
      
      
      
      ReplyMessage<TDocument>
- Implements
- Inherited Members
Constructors
- ReplyMessage(bool, long, bool, List<TDocument>, int, bool, BsonDocument, int, int, IBsonSerializer<TDocument>, int)
- Initializes a new instance of the ReplyMessage<TDocument> class. 
Properties
- AwaitCapable
- Gets a value indicating whether the server is await capable. 
- CursorId
- Gets the cursor identifier. 
- CursorNotFound
- Gets a value indicating whether the cursor was not found. 
- Documents
- Gets the documents. 
- MessageType
- Gets the type of the message. 
- NumberReturned
- Gets the number of documents returned. 
- QueryFailure
- Gets a value indicating whether the query failed. 
- QueryFailureDocument
- Gets the query failure document. 
- Serializer
- Gets the serializer. 
- StartingFrom
- Gets the position of the first document in this batch in the overall result. 
Methods
- GetEncoder(IMessageEncoderFactory)
- Gets an encoder for the message from an encoder factory.