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
-
Update
Opcode Operation
- Implements
- Inherited Members
- Extension Methods
Constructors
- Update
Opcode Operation(Collection Namespace, Update Request, Message Encoder Settings) Initializes a new instance of the Update
Opcode class.Operation
Properties
- Bypass
Document Validation Gets or sets a value indicating whether to bypass document validation.
- Collection
Namespace Gets the collection namespace.
- Max
Document Size Gets or sets the maximum size of a document.
- Message
Encoder Settings Gets the message encoder settings.
- Request
Gets the request.
- Retry
Requested Gets or sets a value indicating whether retry is enabled for the operation.
- Write
Concern Gets or sets the write concern.
Methods
- Execute(IWrite
Binding, Cancellation Token) Executes the operation.
- Execute(Retryable
Write Context, Cancellation Token) Executes the first attempt.
- Execute
Async(IWrite Binding, Cancellation Token) Executes the operation.
- Execute
Async(Retryable Write Context, Cancellation Token) Executes the first attempt.