Constructor CommitTransactionOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
CommitTransactionOperation(WriteConcern)
Initializes a new instance of the AbortTransactionOperation class.
public CommitTransactionOperation(WriteConcern writeConcern)
Parameters
writeConcern
WriteConcernThe write concern.
CommitTransactionOperation(BsonDocument, WriteConcern)
Initializes a new instance of the AbortTransactionOperation class.
public CommitTransactionOperation(BsonDocument recoveryToken, WriteConcern writeConcern)
Parameters
recoveryToken
BsonDocumentThe recovery token.
writeConcern
WriteConcernThe write concern.