Class CommandOperationBase<TCommandResult>
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents the base class for a command operation.
Type Parameters
TCommandResult
The type of the command result.
- Inheritance
-
CommandOperationBase<TCommandResult>
- Derived
- Inherited Members
Constructors
- CommandOperationBase(DatabaseNamespace, BsonDocument, IBsonSerializer<TCommandResult>, MessageEncoderSettings)
Initializes a new instance of the CommandOperationBase<TCommandResult> class.
Properties
- Additional
Options Gets or sets the additional options.
- Command
Gets the command.
- Command
Validator Gets or sets the command validator.
- Comment
Gets or sets the comment.
- Database
Namespace Gets the database namespace.
- Message
Encoder Settings Gets the message encoder settings.
- Result
Serializer Gets the result serializer.
Methods
- Execute
Protocol(IChannel Handle, ICore Session Handle, Read Preference, Cancellation Token) Executes the protocol.
- Execute
Protocol(IChannel Source, ICore Session Handle, Read Preference, Cancellation Token) Executes the protocol.
- Execute
Protocol Async(IChannel Handle, ICore Session Handle, Read Preference, Cancellation Token) Executes the protocol.
- Execute
Protocol Async(IChannel Source, ICore Session Handle, Read Preference, Cancellation Token) Executes the protocol.