Universal Windows Service Class Library

CronTrigger Constructor (String, String, String, String, String)

Constructor of the cron trigger class using seperate strings to configure it.

public CronTrigger(
   string minutes,
   string hours,
   string monthDays,
   string months,
   string weekDays
);

Parameters

minutes
String containing cron informations about the minutes.
hours
String containing cron informations about the hours.
monthDays
String containing cron informations about the days of the monts.
months
String containing cron informations about the months.
weekDays
String containing cron informations about the days of the week.

Remarks

This constructor creates a new cron trigger object and configue it with given cron informations capsulated in different strings.

For detailed information about the cron string see Configure method.

Exceptions

Exception TypeCondition
ArgumentNullExceptionAt least on argument was not given.
ArgumentExceptionThrown if at least one invalid cron string was given.

See Also

CronTrigger Class | uws.Triggers Namespace | CronTrigger Constructor Overload List