ReplyMessageTDocument Constructor |
Namespace:
MongoDB.Driver.Core.WireProtocol.Messages
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntaxpublic 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
)
Public Sub New (
awaitCapable As Boolean,
cursorId As Long,
cursorNotFound As Boolean,
documents As List(Of TDocument),
numberReturned As Integer,
queryFailure As Boolean,
queryFailureDocument As BsonDocument,
requestId As Integer,
responseTo As Integer,
serializer As IBsonSerializer(Of TDocument),
startingFrom As Integer
)
new :
awaitCapable : bool *
cursorId : int64 *
cursorNotFound : bool *
documents : List<'TDocument> *
numberReturned : int *
queryFailure : bool *
queryFailureDocument : BsonDocument *
requestId : int *
responseTo : int *
serializer : IBsonSerializer<'TDocument> *
startingFrom : int -> ReplyMessage
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