Click or drag to resize

TransactionConfigBuilder Class

The builder to create a TransactionConfig
Inheritance Hierarchy
SystemObject
  Neo4j.DriverTransactionConfigBuilder

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.4
Syntax
public sealed class TransactionConfigBuilder

The TransactionConfigBuilder type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithMetadata
The transaction metadata. Specified metadata will be attached to the executing transaction and visible in the output of
dbms.listQueries
and
dbms.listTransactions
procedures. It will also get logged to the
query.log
. Transactions starting with this TransactionConfig This functionality makes it easier to tag transactions and is equivalent to
dbms.setTXMetaData
procedure. Leave this field unmodified to use default timeout configured on database.
Public methodWithTimeout
Sets the transaction timeout. Transactions that execute longer than the configured timeout will be terminated by the database. This functionality allows to limit query/transaction execution time. Specified timeout overrides the default timeout configured in the database using
dbms.transaction.timeout
setting. Leave this field unmodified to use default timeout configured on database.
Top
Extension Methods
See Also