Click or drag to resize

TransactionConfigBuilderWithMetadata Method

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.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public TransactionConfigBuilder WithMetadata(
	IDictionary<string, Object> metadata
)

Parameters

metadata
Type: System.Collections.GenericIDictionaryString, Object
the metadata to set on transaction

Return Value

Type: TransactionConfigBuilder
this TransactionConfigBuilder instance
See Also