NativeWindow.OnThreadException Method (Exception)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected virtual void OnThreadException(
	Exception e
)

Parameters

e
Type: System.Exception

An Exception that specifies the unhandled thread exception.

Typically, OnThreadException handles thread exceptions.

.NET Framework
Available since 1.1
Return to top
Show: