Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
MonthUnit ( |
||
On ( int day ) : |
Schedules the specified task to run on the day specified. If the day has passed, the task will execute the next scheduled month.
|
|
OnTheFirst ( DayOfWeek day ) : |
Schedules the specified task to run on the first occurance of the specified day of the week. If the day has passed, the task will execute the next scheduled month.
|
|
OnTheLast ( DayOfWeek day ) : |
Schedules the specified task to run on the last occurance of the specified day of the week. If the day has passed, the task will execute the next scheduled month.
|
|
OnTheLastDay ( ) : |
Schedules the specified task to run on the last day of the month.
|
|
OnTheSecond ( DayOfWeek day ) : |
Schedules the specified task to run on the second occurance of the specified day of the week. If the day has passed, the task will execute the next scheduled month.
|
|
OnTheThird ( DayOfWeek day ) : |
Schedules the specified task to run on the third occurance of the specified day of the week. If the day has passed, the task will execute the next scheduled month.
|
public MonthUnit ( |
||
schedule | ||
duration | int | |
Результат | System |
public On ( int day ) : |
||
day | int | 1-31: Represents the day of the month |
Результат |
public OnTheFirst ( DayOfWeek day ) : |
||
day | DayOfWeek | Day of week to run the task |
Результат |
public OnTheLast ( DayOfWeek day ) : |
||
day | DayOfWeek | Day of week to run the task |
Результат |
public OnTheLastDay ( ) : |
||
Результат |
public OnTheSecond ( DayOfWeek day ) : |
||
day | DayOfWeek | Day of week to run the task |
Результат |
public OnTheThird ( DayOfWeek day ) : |
||
day | DayOfWeek | Day of week to run the task |
Результат |