ISchedulerScheduleJobs Method

Quartz.NET 3.0 API Documentation
Schedule all of the given jobs with the related set of triggers.

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

C#
Task ScheduleJobs(
	IReadOnlyDictionary<IJobDetail, IReadOnlyCollection<ITrigger>> triggersAndJobs,
	bool replace,
	CancellationToken cancellationToken = null
)

Parameters

triggersAndJobs
Type: System.Collections.GenericIReadOnlyDictionaryIJobDetail, IReadOnlyCollectionITrigger

[Missing <param name="triggersAndJobs"/> documentation for "M:Quartz.IScheduler.ScheduleJobs(System.Collections.Generic.IReadOnlyDictionary{Quartz.IJobDetail,System.Collections.Generic.IReadOnlyCollection{Quartz.ITrigger}},System.Boolean,System.Threading.CancellationToken)"]

replace
Type: SystemBoolean

[Missing <param name="replace"/> documentation for "M:Quartz.IScheduler.ScheduleJobs(System.Collections.Generic.IReadOnlyDictionary{Quartz.IJobDetail,System.Collections.Generic.IReadOnlyCollection{Quartz.ITrigger}},System.Boolean,System.Threading.CancellationToken)"]

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Quartz.IScheduler.ScheduleJobs(System.Collections.Generic.IReadOnlyDictionary{Quartz.IJobDetail,System.Collections.Generic.IReadOnlyCollection{Quartz.ITrigger}},System.Boolean,System.Threading.CancellationToken)"]

Return Value

Type: Task

[Missing <returns> documentation for "M:Quartz.IScheduler.ScheduleJobs(System.Collections.Generic.IReadOnlyDictionary{Quartz.IJobDetail,System.Collections.Generic.IReadOnlyCollection{Quartz.ITrigger}},System.Boolean,System.Threading.CancellationToken)"]

Remarks

If any of the given jobs or triggers already exist (or more specifically, if the keys are not unique) and the replace parameter is not set to true then an exception will be thrown.

See Also

Reference