2021年1月13日

摘要: AggregateException :只能捕获并行异常 Exception:可以捕获所有类型的异常 try { var task1 = Task.Run(() => { throw new Exception("ex1"); }); Task.WaitAll(task1); //throw new 阅读全文
posted @ 2021-01-13 11:51 gfbppy 阅读(243) 评论(0) 推荐(0) 编辑

导航