Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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 _
protected virtual void OnThreadException(
 Exception e
protected: virtual void OnThreadException(
 Exception* e
protected function OnThreadException(
   e : Exception


An Exception that specifies the unhandled thread exception.


Typically, OnThreadException handles thread exceptions.


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

© 2015 Microsoft