QuartzSchedulerAddJob Method (IJobDetail, Boolean, CancellationToken)

Quartz.NET 3.0 API Documentation
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.

The IJob must by definition be 'durable', if it is not, SchedulerException will be thrown.

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

C#
public virtual Task AddJob(
	IJobDetail jobDetail,
	bool replace,
	CancellationToken cancellationToken = null
)

Parameters

jobDetail
Type: QuartzIJobDetail

[Missing <param name="jobDetail"/> documentation for "M:Quartz.Core.QuartzScheduler.AddJob(Quartz.IJobDetail,System.Boolean,System.Threading.CancellationToken)"]

replace
Type: SystemBoolean

[Missing <param name="replace"/> documentation for "M:Quartz.Core.QuartzScheduler.AddJob(Quartz.IJobDetail,System.Boolean,System.Threading.CancellationToken)"]

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Quartz.Core.QuartzScheduler.AddJob(Quartz.IJobDetail,System.Boolean,System.Threading.CancellationToken)"]

Return Value

Type: Task

[Missing <returns> documentation for "M:Quartz.Core.QuartzScheduler.AddJob(Quartz.IJobDetail,System.Boolean,System.Threading.CancellationToken)"]

Implements

IRemotableQuartzSchedulerAddJob(IJobDetail, Boolean, CancellationToken)
See Also

Reference