C# Класс WebApplications.Utilities.Scheduling.ScheduledFunction

Base abstract class.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ExecutionLock object
Schedule Schedule

Открытые методы

Метод Описание
ExecuteNow ( ) : ScheduledFunctionResult

Executes the scheduled function now, unless it is already executing, in which case it waits for the result of the current execution.

Защищенные методы

Метод Описание
ScheduledFunction ( Schedule schedule, System.DateTime startAfter = null ) : System

Initializes a new instance of the ScheduledFunction class.

Описание методов

ExecuteNow() публичный абстрактный Метод

Executes the scheduled function now, unless it is already executing, in which case it waits for the result of the current execution.
public abstract ExecuteNow ( ) : ScheduledFunctionResult
Результат ScheduledFunctionResult

ScheduledFunction() защищенный Метод

Initializes a new instance of the ScheduledFunction class.
protected ScheduledFunction ( Schedule schedule, System.DateTime startAfter = null ) : System
schedule Schedule The schedule.
startAfter System.DateTime The date time to start after.
Результат System

Описание свойств

ExecutionLock публичное свойство

Lock object, which is held during execution of the scheduled function.
public object ExecutionLock
Результат object

Schedule публичное свойство

The schedule.
public Schedule,WebApplications.Utilities.Scheduling Schedule
Результат Schedule