Remove the indicated ITrigger from the scheduler.
If the related job does not have any other triggers, and the job is not durable, then the job will also be deleted.
Namespace: Quartz
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
Task<bool> UnscheduleJob( TriggerKey triggerKey, CancellationToken cancellationToken = null )
Parameters
- triggerKey
- Type: QuartzTriggerKey
[Missing <param name="triggerKey"/> documentation for "M:Quartz.IScheduler.UnscheduleJob(Quartz.TriggerKey,System.Threading.CancellationToken)"]
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
[Missing <param name="cancellationToken"/> documentation for "M:Quartz.IScheduler.UnscheduleJob(Quartz.TriggerKey,System.Threading.CancellationToken)"]
Return Value
Type: TaskBoolean[Missing <returns> documentation for "M:Quartz.IScheduler.UnscheduleJob(Quartz.TriggerKey,System.Threading.CancellationToken)"]
See Also