Table of Contents

Class CommitTransactionOperation

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

The commit transaction operation.

public sealed class CommitTransactionOperation : EndTransactionOperation, IReadOperation<BsonDocument>
Inheritance
CommitTransactionOperation
Implements
Inherited Members
Extension Methods

Constructors

CommitTransactionOperation(BsonDocument, WriteConcern)

Initializes a new instance of the AbortTransactionOperation class.

CommitTransactionOperation(WriteConcern)

Initializes a new instance of the AbortTransactionOperation class.

Properties

CommandName

Gets the name of the command.

MaxCommitTime

Gets the maximum commit time.

Methods

CreateCommand()

Creates the command for the operation.

Execute(IReadBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IReadBinding, CancellationToken)

Executes the operation.