MonthlyTrigger Constructor

Creates an unbound instance of a MonthlyTrigger.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public MonthlyTrigger(
	int dayOfMonth = 1,
	MonthsOfTheYear monthsOfYear = MonthsOfTheYear.AllMonths
)

Parameters

dayOfMonth  Int32  (Optional)
The day of the month. This must be a value between 1 and 32. If this value is set to 32, then the RunOnLastDayOfMonth value will be set and no days will be added regardless of the month.
monthsOfYear  MonthsOfTheYear  (Optional)
The months of the year.

See Also