QuartzSchedulerScheduleJob Method (IJobDetail, ITrigger, CancellationToken)

Quartz.NET 3.0 API Documentation
Add the IJob identified by the given IJobDetail to the Scheduler, and associate the given ITrigger with it.

If the given Trigger does not reference any IJob, then it will be set to reference the Job passed with it into this method.

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

C#
public virtual Task<DateTimeOffset> ScheduleJob(
	IJobDetail jobDetail,
	ITrigger trigger,
	CancellationToken cancellationToken = null
)

Parameters

jobDetail
Type: QuartzIJobDetail

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

trigger
Type: QuartzITrigger

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

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

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

Return Value

Type: TaskDateTimeOffset

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

Implements

IRemotableQuartzSchedulerScheduleJob(IJobDetail, ITrigger, CancellationToken)
See Also

Reference