Called by the IScheduler when a ITrigger
has fired, and it's associated IJobDetail
is about to be executed.
It is called before the VetoJobExecution(ITrigger, IJobExecutionContext, CancellationToken) method of this interface.
Namespace: Quartz
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
Task TriggerFired( ITrigger trigger, IJobExecutionContext context, CancellationToken cancellationToken = null )
Parameters
- trigger
- Type: QuartzITrigger
The ITrigger that has fired. - context
- Type: QuartzIJobExecutionContext
The IJobExecutionContext that will be passed to the IJob'sExecute(IJobExecutionContext) method. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: Task[Missing <returns> documentation for "M:Quartz.ITriggerListener.TriggerFired(Quartz.ITrigger,Quartz.IJobExecutionContext,System.Threading.CancellationToken)"]
See Also