System.Windows.Forms.NativeWindow.OnThreadException Method

When overridden in a derived class, manages an unhandled thread exception.

Syntax

protected virtual void OnThreadException (Exception e)

Parameters

e
An Exception that specifies the unhandled thread exception.

Remarks

Typically, Application.OnThreadException(Exception) handles thread exceptions.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0