Halts the IScheduler's firing of ITriggers,
and cleans up all resources associated with the Scheduler.
Namespace: Quartz
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
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.IScheduler.Shutdown(System.Boolean,System.Threading.CancellationToken)"]
Remarks
See Also