NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DaysOfMonthPattern Constructor (Int32[], Months)

Initializes a new instance of the DaysOfMonthPattern class with a set of days in a month, and a set of months in a year specified.

[Visual Basic]
Overloads Public Sub New( _
   ByVal daysOfMonth() As Integer, _
   ByVal monthsOfYear As Months _
)
[C#]
public DaysOfMonthPattern(
   int[] daysOfMonth,
   Months monthsOfYear
);
[C++]
public: DaysOfMonthPattern(
   int* daysOfMonth[],
   Months monthsOfYear
);
[JScript]
public function DaysOfMonthPattern(
   daysOfMonth : int[],
   monthsOfYear : Months
);

Parameters

daysOfMonth
The set of days in the month during which an event should occur.
monthsOfYear
The months in a year during which an event should occur.

Exceptions

Exception Type Condition
ArgumentException Theparameter value is a null reference (in Visual Basic Nothing).

-or-

Theparameter's index is less than 0 or greater than 31.

-or-

Theparameter value is not a valid Months value.

See Also

DaysOfMonthPattern Class | DaysOfMonthPattern Members | System.Timers Namespace | DaysOfMonthPattern Constructor Overload List | Months