Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
    • .NET API Reference
      • EO.Base
      • EO.Base.UI
      • EO.Extensions
      • EO.Pdf
      • EO.Pdf.Acm
      • EO.Pdf.Contents
      • EO.Pdf.Drawing
      • EO.Pdf.Mvc
      • EO.Web
      • EO.WebBrowser
      • EO.WebBrowser.DOM
      • EO.WebEngine
      • EO.WinForm
      • EO.Wpf
      • EO.Wpf.Gauge
      • EO.Wpf.Gauge.Shapes
      • EO.Wpf.Primitives
      • EO.Wpf.Themes.Aero
      • EO.Wpf.Themes.Classic
      • EO.Wpf.Themes.Luna
      • EO.Wpf.Themes.Metro
      • EO.Wpf.Themes.Royale
    • JavaScript API Reference
Runtime.Exception Event

Raised when a runtime exception occurs in one of the libary's internal thread.

Syntax
 public static event ExceptionEventHandler Exception;
Event Data

The event handler receives an argument of type ExceptionEventArgs containing data related to this event. The following ExceptionEventArgs properties provide information specific to this event.

Name Description
ErrorException Gets the exception information.
Logs Returns the internal runtime log.
ShowExceptionDialog Gets or sets whether to show the exception dialog.
Remarks

This is an event, not a type. You can handle this event the same way as you handle any other event. For example:

EO.Base.Runtime.Exception += Runtime_Exception;

private static void Runtime_Exception(object sender, Base.ExceptionEventArgs e)
{
    //event handling code
}

Note: This event is only raised for exception occurred in one of the library's internal thread because exceptions from these threads are not catchable by user code.

See Also