Class UpdateOpcodeOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents an update operation using the update opcode.
public class UpdateOpcodeOperation : IWriteOperation<WriteConcernResult>, IExecutableInRetryableWriteContext<WriteConcernResult>
- Inheritance
-
UpdateOpcodeOperation
- Implements
- Inherited Members
- Extension Methods
Constructors
- UpdateOpcodeOperation(CollectionNamespace, UpdateRequest, MessageEncoderSettings)
Initializes a new instance of the UpdateOpcodeOperation class.
Properties
- BypassDocumentValidation
Gets or sets a value indicating whether to bypass document validation.
- CollectionNamespace
Gets the collection namespace.
- MaxDocumentSize
Gets or sets the maximum size of a document.
- 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.