C# Class WebApplications.Utilities.Scheduling.ScheduledFunction

Base abstract class.
ファイルを表示 Open project: webappsuk/CoreLibraries Class Usage Examples

Public Properties

Property Type Description
ExecutionLock object
Schedule Schedule

Public Methods

Method Description
ExecuteNow ( ) : ScheduledFunctionResult

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

Protected Methods

Method Description
ScheduledFunction ( Schedule schedule, System.DateTime startAfter = null ) : System

Initializes a new instance of the ScheduledFunction class.

Method Details

ExecuteNow() public abstract method

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
return ScheduledFunctionResult

ScheduledFunction() protected method

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.
return System

Property Details

ExecutionLock public_oe property

Lock object, which is held during execution of the scheduled function.
public object ExecutionLock
return object

Schedule public_oe property

The schedule.
public Schedule,WebApplications.Utilities.Scheduling Schedule
return Schedule