Click or drag to resize

IAsyncSessionRunAsync Method (Query, ActionTransactionConfigBuilder)

Asynchronously execute a query with the specific TransactionConfig and return a task of result stream.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
Task<IResultCursor> RunAsync(
	Query query,
	Action<TransactionConfigBuilder> action
)

Parameters

query
Type: Neo4j.DriverQuery
A Cypher query, Query.
action
Type: SystemActionTransactionConfigBuilder
Given a TransactionConfigBuilder, defines how to set the configurations for the new transaction.

Return Value

Type: TaskIResultCursor
A task of a stream of result values and associated metadata.
See Also