这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
cKey de89695c27 No incorrect template is configured. The default template is used 4 years ago
..
LINGYUN/Abp/BackgroundTasks/ExceptionHandling No incorrect template is configured. The default template is used 4 years ago
FodyWeavers.xml feat(tasks): add job execute exception handler 4 years ago
FodyWeavers.xsd feat(tasks): add job execute exception handler 4 years ago
LINGYUN.Abp.BackgroundTasks.ExceptionHandling.csproj feat(tasks): 完善作业异常推送. 4 years ago
README.md feat(tasks): add exception handling README.MD 4 years ago

README.md

LINGYUN.Abp.BackgroundTasks.ExceptionHandling

后台作业执行异常通知实现, 默认使用Email发送通知

配置使用

模块按需引用

[DependsOn(typeof(AbpBackgroundTasksExceptionHandlingModule))]
public class YouProjectModule : AbpModule
{
  // other
}

先决条件

** 在定义作业时在参数中指定如下参数,在作业执行失败时将发送通知

  • exception.to 必须, 接收者邮件地址
  • exception.from 必须, 邮件抬头发送者名称
  • exception.body 可选, 邮件内容(未指定模板名称则为必须参数)
  • exception.subject 必须, 邮件标题
  • exception.template 可选, 邮件模板
  • exception.context 可选, 使用模板时的上下文参数
  • exception.culture 可选, 使用模板时的模板区域性