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
MessageEncoder Settings The message encoder settings.