ErrorFeedback Field

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

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
DatabaseConfig..::.ErrorFeedback Field
DatabaseConfig Class See Also Send Feedback

The mechanism for reporting error messages to the application.

Namespace: BerkeleyDB
Assembly: libdb_dotnet51 (in libdb_dotnet51.dll) Version: 5.1.22.0

# Syntax

C#
    public ErrorFeedbackDelegate ErrorFeedback

Visual Basic (Declaration)
    Public ErrorFeedback As ErrorFeedbackDelegate

Visual C++
    public:
    ErrorFeedbackDelegate^ ErrorFeedback

# Remarks

In some cases, when an error occurs, Berkeley DB will call ErrorFeedback with additional error information. It is up to the delegate function to display the error message in an appropriate manner.

This error-logging enhancement does not slow performance or significantly increase application size, and may be run during normal operation as well as during application debugging.

For databases opened inside of Berkeley DB environments, setting ErrorFeedback affects the entire environment and is equivalent to setting ErrorFeedback.

# See Also

DatabaseConfig Class
BerkeleyDB Namespace