Universal Windows Service Class Library

WeeklyTrigger Constructor (DayOfWeek, Int32, Int32, Int32)

Constructor of the weekly trigger class using seperate arguments to configure it.

public WeeklyTrigger(
   DayOfWeek weekday,
   int hour,
   int minute,
   int second
);

Parameters

weekday
Value of the start weekday.
hour
Containing the hour of the day.
minute
Containing the minute of the hour.
second
Containing the second of the minute.

Remarks

This constructor creates a new weekly trigger object and configue it with given start weekday and time capsulated in seperated arguments.

Exceptions

Exception TypeCondition
ArgumentExceptionThrown if an invalid start time was given.

See Also

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