开发者

Quartz.NET - getting jobs exception using IJobListener

开发者 https://www.devze.com 2023-01-22 04:57 出处:网络
I\'m using Quartz.NET for an 开发者_JAVA百科application I am creating, and I currently have an IJobListener listening for any errors with jobs, then sending emails off to the administrators. It\'d be

I'm using Quartz.NET for an 开发者_JAVA百科application I am creating, and I currently have an IJobListener listening for any errors with jobs, then sending emails off to the administrators. It'd be great if I could email the exception generated too, but how do I get the exception from the IJobListener?


The JobWasExecuted method is passed a JobExecutionException (if one was thrown during the triggering of the job).

0

精彩评论

暂无评论...
验证码 换一张
取 消