Raised when an exception occurs that is not handled by the library at a point that is not invoked by user code (e.g. during an OnPaint event).

Namespace: TallComponents.Interaction.WinForms.Controls
Assembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0

Syntax

C#
public event EventHandler<UnhandledExceptionEventArgs> UnhandledException
Visual Basic
Public Event UnhandledException As EventHandler(Of UnhandledExceptionEventArgs)

Remarks

Normally, if an unhandled exception occurs at a point that is not invoked by client code (such as within an OnPaint event), the exception will break off program execution and arrive at the invocation of Application.Run. Subscribing to this event will prevent this, as then the UnhandledException event will be raised instead. This allows clients to either handle the event, ignore it, or throw an exception after all.

See Also