IsFaulted_51CTO博客
Task调用的错误信息返回和IsFaulted状态获取
原创 2011-12-12 15:30:36
1292阅读
public static void Start(){ ISchedulerFactory schedulefactory = new StdSchedulerFactory();//实例化调度器工厂 schedulefactory.GetScheduler().ContinueWith(x => { if (x.IsFaulted) { Console.WriteLine(x.Exception); .
原创 2021-10-22 16:26:48
4192阅读