프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DefaultFrequency | int |
메소드 | 설명 | |
---|---|---|
AddTask ( ITask task, |
Adds a task onto the schedule so it will be checked and run as defined by the schedule
|
|
Dispose ( ) : void |
Close and clean up any opened resources
|
|
Scheduler ( ) : System |
Instantiate a new Scheduler to run background tasks using the DefaultFrequency
|
|
Scheduler ( int frequency ) : System |
Instantiate a new Scheduler to run background tasks
|
|
Start ( ) : void |
Start checking if schedules are due to run their tasks
|
|
Stop ( ) : void |
Stop schedules checking if they are due to run
|
메소드 | 설명 | |
---|---|---|
Timer_Tick ( object obj ) : void |
public AddTask ( ITask task, |
||
task | ITask | The task to run |
schedule | The schedule that determines when the task should run | |
리턴 | void |
public Scheduler ( int frequency ) : System | ||
frequency | int | The number of seconds that must elapse between checking for tasks to run |
리턴 | System |