<xml></xml>

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

Berkeley DB .NET API Documentation
RunRecoveryException Class
Members See Also Send Feedback

Berkeley DB has encountered an error it considers fatal to an entire environment. Once a RunRecoveryException has been thrown by any interface, it is returned from all subsequent Berkeley DB calls made by any threads of control participating in the environment.

Namespace: BerkeleyDB
Assembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0

# Syntax

C#

    public class RunRecoveryException : DatabaseException

Visual Basic (Declaration)

    Public Class RunRecoveryException _
    	Inherits DatabaseException

Visual C++

    public ref class RunRecoveryException : public DatabaseException

# Remarks

An example of this type of fatal error is a corrupted database page. The only way to recover from this type of error is to have all threads of control exit the Berkeley DB environment, run recovery of the environment, and re-enter Berkeley DB. (It is not strictly necessary that the processes exit, although that is the only way to recover system resources, such as file descriptors and memory, allocated by Berkeley DB.)

# Inheritance Hierarchy

System..::.Object
System..::.Exception
BerkeleyDB..::.DatabaseException
BerkeleyDB..::.RunRecoveryException

# See Also

RunRecoveryException Members
BerkeleyDB Namespace