Click or drag to resize

IDriverAsyncSession Method (ActionSessionConfigBuilder)

Obtain a session with the customized SessionConfig.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
IAsyncSession AsyncSession(
	Action<SessionConfigBuilder> action
)

Parameters

action
Type: SystemActionSessionConfigBuilder
An action, provided with a SessionConfigBuilder instance, that should populate the provided instance with desired SessionConfig.

Return Value

Type: IAsyncSession
An IAsyncSession that could be used to execute queries.
See Also