The mechanism for reporting error messages to the application.

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