Initializes a new instance of the DailyPattern class with the daily execution interval and the patternName specified.
[Visual Basic] Overloads Public Sub New( _ ByVal everyNthDay As Integer, _ ByVal patternName As String _ ) [C#] public DailyPattern( int everyNthDay, string patternName ); [C++] public: DailyPattern( int everyNthDay, String* patternName ); [JScript] public function DailyPattern( everyNthDay : int, patternName : String );
Exception Type | Condition |
---|---|
ArgumentException | The patternName parameter value is greater than 255 characters.
-or- The everyNthDay parameter value is less than or equal to 0. |
ArgumentNullException | The patternName parameter value is a null reference (in Visual Basic Nothing). |
DailyPattern Class | DailyPattern Members | System.Timers Namespace | DailyPattern Constructor Overload List