Initializes a new instance of the MonthlyPattern class, given a set of days in the week, a set of occurrences in a month, a set of months in a year.
[Visual Basic] Overloads Public Sub New( _ ByVal daysOfWeek As DaysOfWeek, _ ByVal occurrencesInMonth As OccurrenceInMonth, _ ByVal monthsOfYear As Months _ ) [C#] public MonthlyPattern( DaysOfWeek daysOfWeek, OccurrenceInMonth occurrencesInMonth, Months monthsOfYear ); [C++] public: MonthlyPattern( DaysOfWeek daysOfWeek, OccurrenceInMonth occurrencesInMonth, Months monthsOfYear ); [JScript] public function MonthlyPattern( daysOfWeek : DaysOfWeek, occurrencesInMonth : OccurrenceInMonth, monthsOfYear : Months );
Exception Type | Condition |
---|---|
ArgumentException | Theparameter value is not a valid TBD value.
-or- Theparameter value is not a valid TBD value. -or- Theparameter value is not a valid Months value. |
MonthlyPattern Class | MonthlyPattern Members | System.Timers Namespace | MonthlyPattern Constructor Overload List