How to implement one “catch'em all” exception handler with resume?

前端 未结 9 603
梦如初夏
梦如初夏 2020-11-29 07:07

I wonder how can I write a catch\'em all exception handler in the application level which will give the user the option to resume the application f

9条回答
  •  遥遥无期
    2020-11-29 08:01

    If you are running a Windows Forms application: add a handler to the Application.ThreadException event.

提交回复
热议问题