Click or drag to resize

TransactionApiClient Class

Provides access to ArangoDB transaction API.
Inheritance Hierarchy
SystemObject
  ArangoDBNetStandardApiClientBase
    ArangoDBNetStandard.TransactionApiTransactionApiClient

Namespace:  ArangoDBNetStandard.TransactionApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public class TransactionApiClient : ApiClientBase, 
	ITransactionApiClient

The TransactionApiClient type exposes the following members.

Constructors
  NameDescription
Public methodTransactionApiClient(IApiClientTransport)
Create an instance of TransactionApiClient. using the provided transport layer and the default JSON serialization.
Public methodTransactionApiClient(IApiClientTransport, IApiClientSerialization)
Create an instance of TransactionApiClient. using the provided transport and serialization layers.
Top
Methods
  NameDescription
Public methodAbortTransaction
Abort a stream transaction by DELETE.
Public methodBeginTransaction
Begin a stream transaction by POST.
Public methodCommitTransaction
Commit a transaction by PUT.
Protected methodDeserializeJsonFromStreamT (Inherited from ApiClientBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllRunningTransactions
Get currently running transactions.
Protected methodGetApiErrorException
Gets an ApiErrorException from the provided error response.
(Inherited from ApiClientBase.)
Protected methodGetContentT (Inherited from ApiClientBase.)
Protected methodGetContentStringT (Inherited from ApiClientBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTransactionStatus
Get the status of a transaction.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPostTransactionAsyncT
POST a js-transaction to ArangoDB.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateDocumentId
Checks whether the provided document ID is in the correct form of "{collection}/{key}".
(Inherited from ApiClientBase.)
Top
Fields
  NameDescription
Protected field_client
The transport client used to communicate with the ArangoDB host.
Protected field_streamTransactionApiPath
The root path of the API to abort, begin, commit and get the status of a transaction.
Protected field_transactionApiPath
The root path of the API.
Top
See Also