Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Configuration Namespace / ListenerConfiguration Class / ReportErrorsToUser Property

ReportErrorsToUser Property
When true, exceptions handled automatically by the Agent will be reported to the user in an alert dialog (in Windows applications only).
Syntax
'Declaration
 
Public Property ReportErrorsToUser As Boolean
 
Remarks

This setting is enabled by default for Windows applications and provides the Agent's error-alert dialog to notify the user and present options. It is ignored in applications where opening a form is not possible, such as console, service, or web applications. The error-alert dialog can also be accessed by calling Log.ReportException to explicitly report exceptions caught by your own code.

Explicit calls to ReportException will report those errors to the user (in Windows applications) even if this setting is configured to false. This setting does not affect explicit calls to Log.RecordException, which will only record the exception to the session log without reporting it to the user.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also