![]() ![]() ![]() However, unhandled exceptions occurring in contexts not part of the HTTP Request will trigger the process to end: this could occur on a timer thread, background thread, or a callback function. The will not cause the worker process to end. If the exception is thrown in the context of an HTTP Request, even if you don’t handle it, that request is wrapped and will catch all unhandled exceptions as part of the HTTP Exception handling for the request. So what happens if an unhandled exception occurs in an ASP.NET application? NET console application and do nothing other than throw an exception in Main(), then the process will terminate unexpectedly. Any process running in Windows can be terminated due to unexpected errors. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |