Click or drag to resize

ConfigBuilderWithResolver Method

Gets or internal sets a custom server address resolver used by the routing driver to resolve the initial address used to create the driver. Such resolution happens: 1) during the very first rediscovery when driver is created. 2) when all the known routers from the current routing table have failed and driver needs to fallback to the initial address.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.2.0
public ConfigBuilder WithResolver(
	IServerAddressResolver resolver


Type: Neo4j.DriverIServerAddressResolver
The resolver, default to a resolver that simply pass the initial server address as it is.

Return Value

Type: ConfigBuilder
An ConfigBuilder instance for further configuration options.
See Also