Click or drag to resize

DriverExtensionsRxSession Method (IDriver, ActionSessionConfigBuilder)

Obtain a session which is designed to be used through System.Reactive with the specified access mode.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver.Reactive (in Neo4j.Driver.Reactive.dll) Version: 4.1.0
public static IRxSession RxSession(
	this IDriver driver,
	Action<SessionConfigBuilder> action


Type: Neo4j.DriverIDriver
driver instance
Type: SystemActionSessionConfigBuilder
An action, provided with a SessionConfigBuilder instance, that should populate the provided instance with desired session configurations SessionConfig.

Return Value

Type: IRxSession
A reactive session instance

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDriver. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also