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!

WeeklyPattern Constructor

Initializes a new instance of the WeeklyPattern class.

Overload List

Initializes a new default instance of the WeeklyPattern class.

[Visual Basic] Overloads Public Sub New()
[C#] public WeeklyPattern();
[C++] public: WeeklyPattern();
[JScript] public function WeeklyPattern();

Initializes a new instance of the WeeklyPattern class with a set of days and the weekly execution interval specified.

[Visual Basic] Overloads Public Sub New(DaysOfWeek, Integer)
[C#] public WeeklyPattern(DaysOfWeek, int);
[C++] public: WeeklyPattern(DaysOfWeek, int);
[JScript] public function WeeklyPattern(DaysOfWeek, int);

Initializes a new instance of the WeeklyPattern class with a set of days, the weekly execution interval, and the pattern name specified.

[Visual Basic] Overloads Public Sub New(DaysOfWeek, Integer, String)
[C#] public WeeklyPattern(DaysOfWeek, int, String);
[C++] public: WeeklyPattern(DaysOfWeek, int, String);
[JScript] public function WeeklyPattern(DaysOfWeek, int, String);

Initializes a new instance of the WeeklyPattern class with a set of days, the weekly execution interval, the pattern name, the start and end times for the event recurrence pattern, and the event recurrence pattern repetition rate specified.

[Visual Basic] Overloads Public Sub New(DaysOfWeek, Integer, String, TimeSpan, TimeSpan, TimeSpan)
[C#] public WeeklyPattern(DaysOfWeek, int, String, TimeSpan, TimeSpan, TimeSpan);
[C++] public: WeeklyPattern(DaysOfWeek, int, String, TimeSpan, TimeSpan, TimeSpan);
[JScript] public function WeeklyPattern(DaysOfWeek, int, String, TimeSpan, TimeSpan, TimeSpan);

Initializes a new instance of the WeeklyPattern class with a set of days, the weekly execution interval, the pattern name, the start and end times for the event recurrence pattern, the event recurrence pattern repetition rate, and the dates when the event recurrence pattern starts and stops being valid specified.

[Visual Basic] Overloads Public Sub New(DaysOfWeek, Integer, String, TimeSpan, TimeSpan, TimeSpan, DateTime, DateTime)
[C#] public WeeklyPattern(DaysOfWeek, int, String, TimeSpan, TimeSpan, TimeSpan, DateTime, DateTime);
[C++] public: WeeklyPattern(DaysOfWeek, int, String, TimeSpan, TimeSpan, TimeSpan, DateTime, DateTime);
[JScript] public function WeeklyPattern(DaysOfWeek, int, String, TimeSpan, TimeSpan, TimeSpan, DateTime, DateTime);

See Also

WeeklyPattern Class | WeeklyPattern Members | System.Timers Namespace