ISchedulerAddCalendar Method

Quartz.NET 3.0 API Documentation
Add (register) the given ICalendar to the Scheduler.

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

C#
Task AddCalendar(
	string calName,
	ICalendar calendar,
	bool replace,
	bool updateTriggers,
	CancellationToken cancellationToken = null
)

Parameters

calName
Type: SystemString
Name of the calendar.
calendar
Type: QuartzICalendar
The calendar.
replace
Type: SystemBoolean
if set to true [replace].
updateTriggers
Type: SystemBoolean
whether or not to update existing triggers that referenced the already existing calendar so that they are 'correct' based on the new trigger.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: Task

[Missing <returns> documentation for "M:Quartz.IScheduler.AddCalendar(System.String,Quartz.ICalendar,System.Boolean,System.Boolean,System.Threading.CancellationToken)"]

See Also

Reference