TransactionApiClientBeginTransaction Method |
Begin a stream transaction by POST.
Namespace:
ArangoDBNetStandard.TransactionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public virtual Task<StreamTransactionResponse> BeginTransaction(
StreamTransactionBody body
)
Public Overridable Function BeginTransaction (
body As StreamTransactionBody
) As Task(Of StreamTransactionResponse)
public:
virtual Task<StreamTransactionResponse^>^ BeginTransaction(
StreamTransactionBody^ body
)
abstract BeginTransaction :
body : StreamTransactionBody -> Task<StreamTransactionResponse>
override BeginTransaction :
body : StreamTransactionBody -> Task<StreamTransactionResponse>
Parameters
- body
- Type: ArangoDBNetStandard.TransactionApi.ModelsStreamTransactionBody
Object containing information to submit in the POST stream transaction request.
Return Value
Type:
TaskStreamTransactionResponseResponse from ArangoDB after beginning a transaction.
Implements
ITransactionApiClientBeginTransaction(StreamTransactionBody)Exceptions Exception | Condition |
---|
ApiErrorException |
With ErrorNum 10 if the body is missing or malformed.
With ErrorNum 1203 if the body contains an unknown collection.
|
Remarks
https://www.arangodb.com/docs/stable/http/transaction-stream-transaction.html#begin-a-transaction
See Also