Class EndTransactionOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Abstract base class for AbortTransactionOperation and CommitTransactionOperation.
public abstract class EndTransactionOperation : IReadOperation<BsonDocument>
- Inheritance
-
EndTransactionOperation
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
- EndTransactionOperation(BsonDocument, WriteConcern)
Initializes a new instance of the EndTransactionOperation class.
- EndTransactionOperation(WriteConcern)
Initializes a new instance of the EndTransactionOperation class.
Properties
- CommandName
Gets the name of the command.
- MessageEncoderSettings
Gets or sets the message encoder settings.
- WriteConcern
Gets the write concern.
Methods
- CreateCommand()
Creates the command for the operation.
- Execute(IReadBinding, CancellationToken)
Executes the operation.
- ExecuteAsync(IReadBinding, CancellationToken)
Executes the operation.