Add the given IJob to the Scheduler - with no associated
ITrigger. The IJob will be 'dormant' until
it is scheduled with a ITrigger, or TriggerJob(JobKey, CancellationToken)
is called for it.
Namespace: Quartz
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
Task AddJob( IJobDetail jobDetail, bool replace, CancellationToken cancellationToken = null )
Parameters
- jobDetail
- Type: QuartzIJobDetail
[Missing <param name="jobDetail"/> documentation for "M:Quartz.IScheduler.AddJob(Quartz.IJobDetail,System.Boolean,System.Threading.CancellationToken)"]
- replace
- Type: SystemBoolean
[Missing <param name="replace"/> documentation for "M:Quartz.IScheduler.AddJob(Quartz.IJobDetail,System.Boolean,System.Threading.CancellationToken)"]
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
[Missing <param name="cancellationToken"/> documentation for "M:Quartz.IScheduler.AddJob(Quartz.IJobDetail,System.Boolean,System.Threading.CancellationToken)"]
Return Value
Type: Task[Missing <returns> documentation for "M:Quartz.IScheduler.AddJob(Quartz.IJobDetail,System.Boolean,System.Threading.CancellationToken)"]
Remarks
See Also