Click or drag to resize

ConfigBuilderWithMaxTransactionRetryTime Method

Specify the maximum time transactions are allowed to retry via transaction functions. These methods will retry the given unit of work on SessionExpiredException, TransientException and ServiceUnavailableException with exponential backoff using initial delay of 1 second. Default value is 30 seconds.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public ConfigBuilder WithMaxTransactionRetryTime(
	TimeSpan time
)

Parameters

time
Type: SystemTimeSpan
Specify the maximum retry time.

Return Value

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