Platform Core .NET Assemblies API
AppSchedulerMisfireInstruction Enumeration
See Also  Send Feedback
Terrasoft.Core.Scheduler Namespace : AppSchedulerMisfireInstruction Enumeration

Glossary Item Box

Misfire instructions.

Syntax

 
C#
 
 

Members

MemberDescription
FireNowInstructs the AppScheduler that upon a mis-fire situation, the Job must be fired now by AppScheduler.

NOTE: This instruction should typically only be used for 'one-shot' (non-repeating) Job. If it is used on a Job with a repeat count > 0 then it is equivalent to the RescheduleNowWithRemainingRepeatCount instruction.

IgnoreMisfirePolicyInstructs the AppScheduler that the Job will never be evaluated for a misfire situation, and that the scheduler will simply try to fire it as soon as it can, and then update the Job as if it had fired at the proper time.
RescheduleNextWithExistingCountInstructs the AppScheduler that upon a mis-fire situation, the Job wants to be re-scheduled to the next scheduled time after 'now'.
RescheduleNextWithRemainingCountInstructs the AppScheduler that upon a mis-fire situation, the Job wants to be re-scheduled to the next scheduled time after 'now', and with the repeat count set to what it would be, if it had not missed any firings.
RescheduleNowWithExistingRepeatCountInstructs the AppScheduler that upon a mis-fire situation, the Job wants to be re-scheduled to 'now' with the repeat count left as-is. This does obey the Job end-time, but if the 'now' is after the end-time of the Job, it will not fire again.
RescheduleNowWithRemainingRepeatCountInstructs the AppScheduler that upon a mis-fire situation, the Job wants to be re-scheduled to 'now' with the repeat count set to what it would be, if it had not missed any firings. This does obey the Job end-time, but if the 'now' is after the end-time of the Job, it will not fire again.

NOTE: Use of this instruction causes the Job to 'forget' the start-time and repeat-count that it was originally setup with. Instead, the repeat count on the Job will be changed to whatever the remaining repeat count is (this is only an issue if you for some reason wanted to be able to tell what the original values were at some later time).

NOTE: This instruction could cause the Job to go to the 'COMPLETE' state after firing 'now', if all the repeat-fire-times where missed.

SmartPolicyUse smart policy.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Terrasoft.Core.Scheduler.AppSchedulerMisfireInstruction

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.