Hello everyone,
For the default approach for a console application or Windows service written in C#, if there is an uncaught exception, the console application or the Windows service will terminate? Right?
thanks in advance,
George
Hello everyone,
For the default approach for a console application or Windows service written in C#, if there is an uncaught exception, the console application or the Windows service will terminate? Right?
thanks in advance,
George
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question.
George GeorgePosted Apr 26, 2008, 9:09 AM
Thanks,
1.
You mean for normal console application, it will terminates dues to uncaught exception, but for Windows service, it could restart when terminates dues to uncaught exception?
2.
If yes to (1), how to configure? In C# API or somewhere else?
regards,
George
Scott LyslePosted Apr 26, 2008, 6:02 AM