QuartzSchedulerShutdown Method (Boolean, CancellationToken)

Quartz.NET 3.0 API Documentation
Halts the QuartzScheduler's firing of ITriggers, and cleans up all resources associated with the QuartzScheduler.

The scheduler cannot be re-started.

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

C#
public virtual Task Shutdown(
	bool waitForJobsToComplete,
	CancellationToken cancellationToken = null
)

Parameters

waitForJobsToComplete
Type: SystemBoolean
if the scheduler will not allow this method to return until all currently executing jobs have completed.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: Task

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

Implements

IRemotableQuartzSchedulerShutdown(Boolean, CancellationToken)
See Also

Reference