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
taskStartDate
DateTimeIndicates the Start Date Time of the Scheduler Task.
weekDaysToRepeat
List<WeekDays>Indicates the Week Days to Repeat the Scheduler Task.
maxRepeats
intIndicates how many times the task will be executed before finishing.
minutesRepeatInterval
intIndicates the interval of minutes before executing the Scheduler Task again ('Repeated Every x Minutes').
taskEndDate
DateTimeIndicates the End Date Time of the Scheduler Task.
Exceptions
- ArgumentNullException
Throw if the weekDaysToRepeat is null.
- ArgumentNullException
Throw if the weekDaysToRepeat is null.