Table of Contents

Class SessionExpiredException

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

A SessionExpiredException indicates that the session can no longer satisfy the criteria under which it was acquired, e.g. a server no longer accepts write requests. A new session needs to be acquired from the driver and all actions taken on the expired session must be replayed.

[DataContract]
public class SessionExpiredException : Neo4jException
Inheritance
SessionExpiredException
Inherited Members
Extension Methods

Constructors

SessionExpiredException(string)

Create a new SessionExpiredException with an error message.

SessionExpiredException(string, Exception)

Create a new SessionExpiredException with an error message and an exception.

Properties

IsRetriable

Gets whether the exception is retryable or not.
Important Note: Methods that use Autocommit transactions
RunAsync(string, Action<TransactionConfigBuilder>),
RunAsync(string, IDictionary<string, object>, Action<TransactionConfigBuilder>),
and
RunAsync(Query, Action<TransactionConfigBuilder>)
are not retryable regardless of this value.