IJobListenerJobToBeExecuted Method

Quartz.NET 3.0 API Documentation
Called by the IScheduler when a IJobDetail is about to be executed (an associated ITrigger has occurred).

This method will not be invoked if the execution of the Job was vetoed by a ITriggerListener.

Namespace:  Quartz
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
Task JobToBeExecuted(
	IJobExecutionContext context,
	CancellationToken cancellationToken = null
)

Parameters

context
Type: QuartzIJobExecutionContext

[Missing <param name="context"/> documentation for "M:Quartz.IJobListener.JobToBeExecuted(Quartz.IJobExecutionContext,System.Threading.CancellationToken)"]

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Quartz.IJobListener.JobToBeExecuted(Quartz.IJobExecutionContext,System.Threading.CancellationToken)"]

Return Value

Type: Task

[Missing <returns> documentation for "M:Quartz.IJobListener.JobToBeExecuted(Quartz.IJobExecutionContext,System.Threading.CancellationToken)"]

See Also

Reference