Class ScheduleJobBase<T>
- Namespace
- H.Controls.ScheduleBox
- Assembly
- H.Controls.ScheduleBox.dll
public abstract class ScheduleJobBase<T> : ScheduleJobBase, INotifyPropertyChanged, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable, IScheduleJob, IJob where T : class, IScheduleJob
Type Parameters
T
- Inheritance
-
ScheduleJobBase<T>
- Implements
-
IJob
- Derived
- Inherited Members
- Extension Methods
Methods
Execute(IJobExecutionContext)
Called by the Quartz.IScheduler when a Quartz.ITrigger fires that is associated with the Quartz.IJob.
public override Task Execute(IJobExecutionContext context)
Parameters
context
IJobExecutionContextThe execution context.
Returns
Remarks
The implementation may wish to set a result object on the JobExecutionContext before this method exits. The result itself is meaningless to Quartz, but may be informative to Quartz.IJobListeners or Quartz.ITriggerListeners that are watching the job's execution.
Invoke(IJobExecutionContext, T, out string)
public abstract bool Invoke(IJobExecutionContext context, T scheduleJob, out string message)
Parameters
context
IJobExecutionContextscheduleJob
Tmessage
string