两种未处理异常的截获

Current.DispatcherUnhandledException += Current_DispatcherUnhandledException;//ui线程上未处理的异常
 AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;//所有未处理的异常

posted @ 2019-11-25 14:22  长白山  阅读(141)  评论(0)    收藏  举报