RecurrencePattern Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
RecurrencePattern()
Initializes a new instance of the RecurrencePattern class.
public RecurrencePattern ();
Public Sub New ()
Applies to
RecurrencePattern(RecurrenceFrequency, DateTime, IList<Nullable<WeekDay>>, Nullable<Int32>)
Initializes a new instance of the RecurrencePattern class.
public RecurrencePattern (Microsoft.Azure.Management.LabServices.Models.RecurrenceFrequency frequency, DateTime expirationDate, System.Collections.Generic.IList<Microsoft.Azure.Management.LabServices.Models.WeekDay?> weekDays = default, int? interval = default);
new Microsoft.Azure.Management.LabServices.Models.RecurrencePattern : Microsoft.Azure.Management.LabServices.Models.RecurrenceFrequency * DateTime * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.LabServices.Models.WeekDay>> * Nullable<int> -> Microsoft.Azure.Management.LabServices.Models.RecurrencePattern
Public Sub New (frequency As RecurrenceFrequency, expirationDate As DateTime, Optional weekDays As IList(Of Nullable(Of WeekDay)) = Nothing, Optional interval As Nullable(Of Integer) = Nothing)
Parameters
- frequency
- RecurrenceFrequency
The frequency of the recurrence. Possible values include: 'Daily', 'Weekly'
- expirationDate
- DateTime
When the recurrence will expire. This date is inclusive.
The week days the schedule runs. Used for when the Frequency is set to Weekly.
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.
Applies to
Azure SDK for .NET