Class EnlistmentSourceContext
- Namespace
- Quartz
- Assembly
- Quartz.dll
What EnlistmentSource is told about the scheduler call that is beginning.
public sealed class EnlistmentSourceContext
- Inheritance
-
EnlistmentSourceContext
- Inherited Members
Remarks
A context object rather than a parameter, so that the next thing a source needs to know about a call is a property rather than a new delegate type. It exists only while a source is set: a scheduler with none builds nothing.
Properties
Scheduler
The scheduler the call was made on, which is what EnlistTransaction(IScheduler, DbTransaction) and EnlistConnection(IScheduler, DbConnection, DbTransaction?) enlist on.
public required IScheduler Scheduler { get; init; }
Property Value
Remarks
Only for enlisting. A call on it that reads or writes the store would be asked about in turn, and the source would be called again from inside itself.