TransactionApiClientAbortTransaction Method |
Abort a stream transaction by DELETE.
Namespace:
ArangoDBNetStandard.TransactionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public virtual Task<StreamTransactionResponse> AbortTransaction(
string transactionId
)
Public Overridable Function AbortTransaction (
transactionId As String
) As Task(Of StreamTransactionResponse)
public:
virtual Task<StreamTransactionResponse^>^ AbortTransaction(
String^ transactionId
)
abstract AbortTransaction :
transactionId : string -> Task<StreamTransactionResponse>
override AbortTransaction :
transactionId : string -> Task<StreamTransactionResponse>
Parameters
- transactionId
- Type: SystemString
The transaction identifier.
Return Value
Type:
TaskStreamTransactionResponseResponse from ArangoDB after aborting a transaction.
Implements
ITransactionApiClientAbortTransaction(String)Exceptions Exception | Condition |
---|
ApiErrorException |
With ErrorNum 1653 if the transaction cannot be aborted.
With ErrorNum 10 if the transaction is not found.
|
Remarks
https://www.arangodb.com/docs/stable/http/transaction-stream-transaction.html#abort-transaction
See Also