Hi,
I use Application.ThreadException to handle global exception, but not sure how to use it properly:
Thank you for your help.
Page
Hi,
when I open multi tab browser (multi session), it calls the function Main multiple time and that means Application.ThreadException += Application_ThreadException is attached more than one?
Page
Hi
Just add theses line for rise Exception Globaly
static void Main()
{
Application.ThreadException += Application_ThreadException;
…
}
There is no need to detach any event on Application, it’s all done automatically
Happy coding,
Kevin (ITG)
Please login first to submit.