Table of Contents

Class DeleteOpcodeOperation

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

Represents a delete operation using the delete opcode.

[Obsolete("This class will be made internal in a later release.")]
public class DeleteOpcodeOperation : IWriteOperation<WriteConcernResult>, IExecutableInRetryableWriteContext<WriteConcernResult>
Inheritance
DeleteOpcodeOperation
Implements
Inherited Members
Extension Methods

Constructors

DeleteOpcodeOperation(CollectionNamespace, DeleteRequest, MessageEncoderSettings)

Initializes a new instance of the DeleteOpcodeOperation class.

Properties

CollectionNamespace

Gets the collection namespace.

MessageEncoderSettings

Gets the message encoder settings.

Request

Gets the request.

RetryRequested

Gets or sets a value indicating whether retry is enabled for the operation.

WriteConcern

Gets or sets the write concern.

Methods

Execute(IWriteBinding, CancellationToken)

Executes the operation.

Execute(RetryableWriteContext, CancellationToken)

Executes the first attempt.

ExecuteAsync(IWriteBinding, CancellationToken)

Executes the operation.

ExecuteAsync(RetryableWriteContext, CancellationToken)

Executes the first attempt.