RecurrencePattern Class

Definition

Recurrence pattern of a lab schedule.

public class RecurrencePattern
type RecurrencePattern = class
Public Class RecurrencePattern
Inheritance
RecurrencePattern

Constructors

RecurrencePattern()

Initializes a new instance of the RecurrencePattern class.

RecurrencePattern(RecurrenceFrequency, DateTime, IList<Nullable<WeekDay>>, Nullable<Int32>)

Initializes a new instance of the RecurrencePattern class.

Properties

ExpirationDate

Gets or sets when the recurrence will expire. This date is inclusive.

Frequency

Gets or sets the frequency of the recurrence. Possible values include: 'Daily', 'Weekly'

Interval

Gets or sets the interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used.

WeekDays

Gets or sets the week days the schedule runs. Used for when the Frequency is set to Weekly.

Methods

Validate()

Validate the object.

Applies to