Constructor FindOneAndDeleteOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
FindOneAndDeleteOperation(CollectionNamespace, BsonDocument, IBsonSerializer<TResult>, MessageEncoderSettings)
Initializes a new instance of the FindOneAndDeleteOperation<TResult> class.
public FindOneAndDeleteOperation(CollectionNamespace collectionNamespace, BsonDocument filter, IBsonSerializer<TResult> resultSerializer, MessageEncoderSettings messageEncoderSettings)
Parameters
collectionNamespace
CollectionNamespaceThe collection namespace.
filter
BsonDocumentThe filter.
resultSerializer
IBsonSerializer<TResult>The result serializer.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.