Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Fri, 22 Aug 2008 11:31:11 -0700,    group: microsoft.public.dotnet.framework.windowsforms        back       


Application.ThreadException   
VS2008 VB.

I add a handler for Application.ThreadException.  It works fine,
except for one unexpected behavior.

If I programmatically throw an exception, and that exception specifies
an InnerException, then the ThreadException event handler is called
with the inner exception, not the one that was thrown.

Any idea why this happens and what I can do to see the original
exception?
date: Fri, 22 Aug 2008 11:31:11 -0700   author:   Jack Jackson

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us