Adds a DailyPattern, given the daily execution interval.
[Visual Basic] Overloads Public Function AddDailyPattern( _ ByVal everyNthDay As Integer _ ) As DailyPattern [C#] public DailyPattern AddDailyPattern( int everyNthDay ); [C++] public: DailyPattern* AddDailyPattern( int everyNthDay ); [JScript] public function AddDailyPattern( everyNthDay : int ) : DailyPattern;
The DailyPattern.
Exception Type | Condition |
---|---|
ArgumentException | The everyNthDay parameter value is less than or equal to 0. |
When a pattern is added, the next scheduled time is automatically recalculated.
When the name of the pattern is not specified, the name becomes the type of pattern with a unique number appended. For example, "DailyPattern3". The properties of the pattern that are not set through parameters are set to the pattern type's default values.
RecurrencePatterns Class | RecurrencePatterns Members | System.Timers Namespace | RecurrencePatterns.AddDailyPattern Overload List | DailyPattern