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
CollectionNamespaceThe collection namespace.
resultSerializer
IBsonSerializer<TDocument>The result serializer.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.