Table of Contents

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 CollectionNamespace

The collection namespace.

filter BsonDocument

The filter.

resultSerializer IBsonSerializer<TResult>

The result serializer.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.