Executes a GetMore protocol.
Namespace:
MongoDB.Driver.Core.Bindings
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
SyntaxCursorBatch<TDocument> GetMore<TDocument>(
CollectionNamespace collectionNamespace,
BsonDocument query,
long cursorId,
int batchSize,
IBsonSerializer<TDocument> serializer,
MessageEncoderSettings messageEncoderSettings,
CancellationToken cancellationToken
)
Function GetMore(Of TDocument) (
collectionNamespace As CollectionNamespace,
query As BsonDocument,
cursorId As Long,
batchSize As Integer,
serializer As IBsonSerializer(Of TDocument),
messageEncoderSettings As MessageEncoderSettings,
cancellationToken As CancellationToken
) As CursorBatch(Of TDocument)
abstract GetMore :
collectionNamespace : CollectionNamespace *
query : BsonDocument *
cursorId : int64 *
batchSize : int *
serializer : IBsonSerializer<'TDocument> *
messageEncoderSettings : MessageEncoderSettings *
cancellationToken : CancellationToken -> CursorBatch<'TDocument>
Parameters
- collectionNamespace
- Type: MongoDB.DriverCollectionNamespace
The collection namespace. - query
- Type: MongoDB.BsonBsonDocument
The query. - cursorId
- Type: SystemInt64
The cursor identifier. - batchSize
- Type: SystemInt32
Size of the batch. - serializer
- Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The serializer. - messageEncoderSettings
- Type: MongoDB.Driver.Core.WireProtocol.Messages.EncodersMessageEncoderSettings
The message encoder settings. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Type Parameters
- TDocument
- The type of the document.
Return Value
Type:
CursorBatchTDocumentThe result of the GetMore protocol.
See Also