Constructor CycleAttribute
CycleAttribute(CYCLE, uint, bool, CATCHUP, bool)
Defines a cyclic method with a given id and some creation flags. Use this if you want to run something every 2 hours and don't care about the WHEN.
If the WHEN is important, use a Schedule!
public CycleAttribute(CYCLE id, uint cycleTimeInMinutes, bool triggerOnCreate = false, CATCHUP historyCatchup = CATCHUP.NEVER, bool resetElapsedOnStart = true)
Parameters
idCYCLEcycleTimeInMinutesuintThe cycle time in minutes
triggerOnCreateboolIf the cycle is new (no history) it will be triggered on start
historyCatchupCATCHUPHow the history should be handled
resetElapsedOnStartboolIf set, resets the elapsed minutes on start
Remarks
Only allows for 2 or more Minutes !