Table of Contents

Constructor FindOperation

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

FindOperation(CollectionNamespace, IBsonSerializer<TDocument>, MessageEncoderSettings)

Initializes a new instance of the FindOperation<TDocument> class.

public FindOperation(CollectionNamespace collectionNamespace, IBsonSerializer<TDocument> resultSerializer, MessageEncoderSettings messageEncoderSettings)

Parameters

collectionNamespace CollectionNamespace

The collection namespace.

resultSerializer IBsonSerializer<TDocument>

The result serializer.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.