ITransactionApiClientBeginTransaction Method |
Begin a stream transaction by POST.
Namespace:
ArangoDBNetStandard.TransactionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<StreamTransactionResponse> BeginTransaction(
StreamTransactionBody body
)
Function BeginTransaction (
body As StreamTransactionBody
) As Task(Of StreamTransactionResponse)
Task<StreamTransactionResponse^>^ BeginTransaction(
StreamTransactionBody^ body
)
abstract 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.
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