Constructor ScheduleWeekly
- Namespace
- Skyline.DataMiner.Core.Scheduler.Automation
- Assembly
- Skyline.DataMiner.Core.Scheduler.Automation.dll
ScheduleWeekly(DateTime, List<WeekDays>, int, int, DateTime)
Initializes a new instance of the ScheduleWeekly class. Creates a Schedule Weekly Repetition Process.
public ScheduleWeekly(DateTime taskStartDate, List<WeekDays> weekDaysToRepeat, int maxRepeats = -1, int minutesRepeatInterval = -1, DateTime taskEndDate = default)
Parameters
taskStartDateDateTimeIndicates the Start Date Time of the Scheduler Task.
weekDaysToRepeatList<WeekDays>Indicates the Week Days to Repeat the Scheduler Task.
maxRepeatsintIndicates how many times the task will be executed before finishing.
minutesRepeatIntervalintIndicates the interval of minutes before executing the Scheduler Task again ('Repeated Every x Minutes').
taskEndDateDateTimeIndicates the End Date Time of the Scheduler Task.
Exceptions
- ArgumentNullException
Throw if the weekDaysToRepeat is null.
- ArgumentNullException
Throw if the weekDaysToRepeat is null.