摘要:
控制台、WinForm程序可以用以下方法做全局捕获AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) { var error = (Exception)e.ExceptionObject; Console.WriteLin... 阅读全文
posted @ 2014-03-20 23:01
harrell
阅读(180)
评论(0)
推荐(0)