摘要: public static class ExceptionExtensions { public static IEnumerable GetAllExceptions(this Exception ex) { Exception currentEx = ex; yield return currentEx; while (currentEx.InnerException != null) { currentEx = currentEx.InnerException; ... 阅读全文
posted @ 2013-10-28 10:10 chunchill 阅读(211) 评论(0) 推荐(0) 编辑