Constructor ParallelScanOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
ParallelScanOperation(CollectionNamespace, int, IBsonSerializer<TDocument>, MessageEncoderSettings)
Initializes a new instance of the ParallelScanOperation<TDocument> class.
[Obsolete("ParallelScanOperation was deprecated in server version 4.1.")]
public ParallelScanOperation(CollectionNamespace collectionNamespace, int numberOfCursors, IBsonSerializer<TDocument> serializer, MessageEncoderSettings messageEncoderSettings)
Parameters
collectionNamespace
CollectionNamespaceThe collection namespace.
numberOfCursors
intThe number of cursors.
serializer
IBsonSerializer<TDocument>The serializer.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.