Share via


Schedule Constructors

Definition

Overloads

Schedule()

Initializes a new instance of the Schedule class.

Schedule(Nullable<DateTime>, Nullable<DateTime>, Nullable<TimeSpan>, Nullable<TimeSpan>)

Initializes a new instance of the Schedule class.

Schedule()

Source:
Schedule.cs

Initializes a new instance of the Schedule class.

public Schedule ();
Public Sub New ()

Applies to

Schedule(Nullable<DateTime>, Nullable<DateTime>, Nullable<TimeSpan>, Nullable<TimeSpan>)

Source:
Schedule.cs

Initializes a new instance of the Schedule class.

public Schedule (DateTime? doNotRunUntil = default, DateTime? doNotRunAfter = default, TimeSpan? startWindow = default, TimeSpan? recurrenceInterval = default);
new Microsoft.Azure.Batch.Protocol.Models.Schedule : Nullable<DateTime> * Nullable<DateTime> * Nullable<TimeSpan> * Nullable<TimeSpan> -> Microsoft.Azure.Batch.Protocol.Models.Schedule
Public Sub New (Optional doNotRunUntil As Nullable(Of DateTime) = Nothing, Optional doNotRunAfter As Nullable(Of DateTime) = Nothing, Optional startWindow As Nullable(Of TimeSpan) = Nothing, Optional recurrenceInterval As Nullable(Of TimeSpan) = Nothing)

Parameters

doNotRunUntil
Nullable<DateTime>

The earliest time at which any Job may be created under this Job Schedule.

doNotRunAfter
Nullable<DateTime>

A time after which no Job will be created under this Job Schedule. The schedule will move to the completed state as soon as this deadline is past and there is no active Job under this Job Schedule.

startWindow
Nullable<TimeSpan>

The time interval, starting from the time at which the schedule indicates a Job should be created, within which a Job must be created.

recurrenceInterval
Nullable<TimeSpan>

The time interval between the start times of two successive Jobs under the Job Schedule. A Job Schedule can have at most one active Job under it at any given time.

Applies to