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