Trigger the identified IJobDetail (Execute it now).
Namespace: Quartz
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
Task TriggerJob( JobKey jobKey, JobDataMap data, CancellationToken cancellationToken = null )
Parameters
- jobKey
- Type: QuartzJobKey
The JobKey of the IJob to be executed. - data
- Type: QuartzJobDataMap
the (possibly ) JobDataMap to be associated with the trigger that fires the job immediately. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: Task[Missing <returns> documentation for "M:Quartz.IScheduler.TriggerJob(Quartz.JobKey,Quartz.JobDataMap,System.Threading.CancellationToken)"]
See Also