Метод | Описание | |
---|---|---|
At ( System.TimeSpan runat ) : |
Creates a Schedule which runs Daily at a specific time
|
|
Every ( int frequency ) : |
Creates a Schedule which runs Periodically after a predefined number of seconds
|
|
Every ( int frequency, System.DateTime lastRun ) : |
Creates a Schedule which runs Periodically after a predefined number of seconds
|
|
Task ( ) : |
Creates a Schedule which is manually managed by the task itself
|
Метод | Описание | |
---|---|---|
Schedule ( ScheduleType type ) : System |
public static At ( System.TimeSpan runat ) : |
||
runat | System.TimeSpan | The time at which the schedule should become active |
Результат |
public static Every ( int frequency ) : |
||
frequency | int | How many seconds should pass before the schedule becomes active |
Результат |
public static Every ( int frequency, System.DateTime lastRun ) : |
||
frequency | int | How many seconds should pass before the schedule becomes active |
lastRun | System.DateTime | The date and time the task was last run, this will affect when this schedule will start for the first time |
Результат |