The mechanism for reporting error messages to the application.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.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