Sorry Exception Handling Application <http://msdn.microsoft.com/en-us/library/ff664698%28v=PandP.50%29.aspx> Block from Microsoft
I have already done what you have mentioned but would be nice to retrieve the parameters of a function. I know i can manually code this for each function..but would be nice to use some sort of reflection to automate this.. From: [email protected] [mailto:[email protected]] On Behalf Of Glen Harvy Sent: Friday, 30 July 2010 5:47 PM To: ozDotNet Subject: Re: Retrieve parameters Trap the error and any required data in a tcf and then upload the data to a website for you to process etc. Trap unhandled exceptions with Application.ThreadException += OnThreadException; and do the same. What's an Exception Block? On 30/07/2010 3:08 PM, Anthony wrote: Adding some debugging cod to my winforms application. When an exception is raised..i want the application to send me the error with the parameters passed? Can i use reflection to do this? Or is there a better way? Do people use the Exception Block by MS or roll their own? Is your website <http://www.intellixperience.com/signup.aspx> being IntelliXperienced? | www.yougoingmyway.com ? regards Anthony (*12QWERNB*) Is your website being IntelliXperienced?
