Universal Windows Service Class Library

WeeklyTrigger.Configure Method (DayOfWeek, TimeSpan)

Configures the trigger using a DayOfWeek and TimeSpan structure.

public void Configure(
   DayOfWeek weekday,
   TimeSpan time
);

Parameters

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

Remarks

This method configue the trigger 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.Configure Overload List