Click or drag to resize

TransactionApiClientCommitTransaction Method

Commit a transaction by PUT.

Namespace:  ArangoDBNetStandard.TransactionApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public virtual Task<StreamTransactionResponse> CommitTransaction(
	string transactionId
)

Parameters

transactionId
Type: SystemString
The transaction identifier.

Return Value

Type: TaskStreamTransactionResponse
Response from ArangoDB after committing a transaction.

Implements

ITransactionApiClientCommitTransaction(String)
Exceptions
ExceptionCondition
ApiErrorException With ErrorNum 1653 if the transaction cannot be committed. With ErrorNum 10 if the transaction is not found.
Remarks
https://www.arangodb.com/docs/stable/http/transaction-stream-transaction.html#commit-transaction
See Also