阅读背景:

如果发生未处理的异常,我需要关闭WPF应用程序吗?

来源:互联网 

I have a WPF Application basically the exe is a loader for the application UI and sometimes when a unhandled execption occurs the message box is shown and when I click ok it goes away,the UI vanishes etc..,the instance of the exe is still there,I need some mechanism that when and exception that is unhandled occurs shutdown the exe since i have code that checks for multiple instances so the user would have to kill the crashed instance.Any suggestions or code?I have a WPF Application basically the exe is a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: