Remove (delete) the ITrigger with the
given name, and store the new given one - which must be associated
with the same job.
Namespace: Quartz.Core
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public virtual Task<Nullable<DateTimeOffset>> RescheduleJob( TriggerKey triggerKey, ITrigger newTrigger, CancellationToken cancellationToken = null )
Parameters
- triggerKey
- Type: QuartzTriggerKey
the key of the trigger - newTrigger
- Type: QuartzITrigger
The new ITrigger to be stored. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: TaskNullableDateTimeOffsetif a ITrigger with the given name and group was not found and removed from the store, otherwise the first fire time of the newly scheduled trigger.
Implements
IRemotableQuartzSchedulerRescheduleJob(TriggerKey, ITrigger, CancellationToken)See Also