Export (0) Print
Expand All

NativeWindow.OnThreadException Method

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

[Visual Basic]
Protected Overridable Sub OnThreadException( _
   ByVal e As Exception _
)
[C#]
protected virtual void OnThreadException(
 Exception e
);
[C++]
protected: virtual void OnThreadException(
 Exception* e
);
[JScript]
protected function OnThreadException(
   e : Exception
);

Parameters

e
An Exception that specifies the unhandled thread exception.

Remarks

Typically, OnThreadException handles thread exceptions.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

NativeWindow Class | NativeWindow Members | System.Windows.Forms Namespace | NativeWindow | Handle | AssignHandle | CreateHandle | DestroyHandle | ReleaseHandle | WndProc | Application

Show:
© 2014 Microsoft