Universal Windows Service Class Library

WeeklyTrigger Constructor (DayOfWeek, TimeSpan)

Constructor of the weekly trigger class using a DayOfWeek and TimeSpan structure to configure it.

public WeeklyTrigger(
   DayOfWeek weekday,
   TimeSpan time
);

Parameters

weekday
Value of the start weekday.
time
Structure containing start time.

Remarks

This constructor creates a new weekly trigger object and configue it with given start weekday and time capsulated in DayOfWeek and TimeSpan structures.

Exceptions

Exception TypeCondition
ArgumentExceptionThrown if an invalid start time was given.

See Also

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