Class SchedulerNotFoundException
- Namespace
- Quartz
- Assembly
- Quartz.dll
Thrown by GetRequiredScheduler(ISchedulerFactory, string, CancellationToken) when the container the factory belongs to has no scheduler of the requested name.
public sealed class SchedulerNotFoundException : SchedulerException, ISerializable
- Inheritance
-
SchedulerNotFoundException
- Implements
- Inherited Members
Remarks
A type of its own rather than a bare SchedulerException, because "the name is not registered here" is the one failure a caller of that method can act on — retrying a different name, or reporting the one that was misspelled — and telling it apart by message text is not a contract. LookupScheduler(string, CancellationToken) is the form that answers null for the same question.
Properties
SchedulerName
The name that was asked for, so a caller can report it without parsing the message.
public string SchedulerName { get; }