Called during creation of the IScheduler in order to give
the ISchedulerPlugin a chance to Initialize.
Namespace: Quartz.Spi
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
Task Initialize( string pluginName, IScheduler scheduler, CancellationToken cancellationToken = null )
Parameters
- pluginName
- Type: SystemString
The name by which the plugin is identified. - scheduler
- Type: QuartzIScheduler
The scheduler to which the plugin is registered. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: Task[Missing <returns> documentation for "M:Quartz.Spi.ISchedulerPlugin.Initialize(System.String,Quartz.IScheduler,System.Threading.CancellationToken)"]
Remarks
If you need direct access your plugin, you can have it explicitly put a reference to itself in the IScheduler's SchedulerContext as part of its Initialize(String, IScheduler, CancellationToken) method.
See Also