Table of Contents

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 CollectionNamespace

The collection namespace.

numberOfCursors int

The number of cursors.

serializer IBsonSerializer<TDocument>

The serializer.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.