Method | Description | |
---|---|---|
RunForever ( System.TimeSpan interval ) : |
Runs the task forever at a given interval, until manually stopped.
|
|
RunForever ( System.TimeSpan interval, System.TimeSpan delay ) : |
Runs the task forever at a given interval after an initial delay, until manually stopped.
|
|
RunForever ( object userState, System.TimeSpan interval, System.TimeSpan delay ) : |
Runs the task forever at a given interval after an initial delay, until manually stopped.
|
|
RunManual ( ) : |
Executes the task once immediately, and suspends (but does not stop). A SchedulerTask object can be reused many times if ran manually.
|
|
RunManual ( System.DateTime time ) : |
Executes the task once at a given time, and suspends (but does not stop). A SchedulerTask object can be reused many times if ran manually.
|
|
RunManual ( System.TimeSpan delay ) : |
Executes the task once after a delay, and suspends (but does not stop). A SchedulerTask object can be reused many times if ran manually.
|
|
RunOnce ( ) : |
Runs the task once, as quickly as possible. Callback is invoked from the Scheduler thread.
|
|
RunOnce ( System.DateTime time ) : |
Runs the task once at a given date. If the given date is in the past, the task is ran immediately.
|
|
RunOnce ( System.TimeSpan delay ) : |
Runs the task once, after a given delay.
|
|
RunOnce ( object userState, System.DateTime time ) : |
Runs the task once at a given date. If the given date is in the past, the task is ran immediately.
|
|
RunOnce ( object userState, System.TimeSpan delay ) : |
Runs the task once, after a given delay.
|
|
RunRepeating ( System.TimeSpan delay, System.TimeSpan interval, int times ) : |
Runs the task a given number of times, at a given interval after an initial delay.
|
|
RunRepeating ( object userState, System.TimeSpan delay, System.TimeSpan interval, int times ) : |
Runs the task a given number of times, at a given interval after an initial delay.
|
|
Stop ( ) : |
Stops the task, and removes it from the schedule.
|
|
ToCompactString ( System.TimeSpan span ) : string | ||
ToString ( ) : string |
Method | Description | |
---|---|---|
RunForever ( ) : |
||
SchedulerTask ( ) : System | ||
SchedulerTask ( SchedulerCallback callback, bool isBackground ) : System | ||
SchedulerTask ( SchedulerCallback callback, bool isBackground, object userState ) : System |
public RunForever ( System.TimeSpan interval ) : |
||
interval | System.TimeSpan | |
return |
public RunForever ( System.TimeSpan interval, System.TimeSpan delay ) : |
||
interval | System.TimeSpan | |
delay | System.TimeSpan | |
return |
public RunForever ( object userState, System.TimeSpan interval, System.TimeSpan delay ) : |
||
userState | object | |
interval | System.TimeSpan | |
delay | System.TimeSpan | |
return |
public RunManual ( System.DateTime time ) : |
||
time | System.DateTime | |
return |
public RunManual ( System.TimeSpan delay ) : |
||
delay | System.TimeSpan | |
return |
public RunOnce ( System.DateTime time ) : |
||
time | System.DateTime | |
return |
public RunOnce ( System.TimeSpan delay ) : |
||
delay | System.TimeSpan | |
return |
public RunOnce ( object userState, System.DateTime time ) : |
||
userState | object | |
time | System.DateTime | |
return |
public RunOnce ( object userState, System.TimeSpan delay ) : |
||
userState | object | |
delay | System.TimeSpan | |
return |
public RunRepeating ( System.TimeSpan delay, System.TimeSpan interval, int times ) : |
||
delay | System.TimeSpan | |
interval | System.TimeSpan | |
times | int | |
return |
public RunRepeating ( object userState, System.TimeSpan delay, System.TimeSpan interval, int times ) : |
||
userState | object | |
delay | System.TimeSpan | |
interval | System.TimeSpan | |
times | int | |
return |
public static ToCompactString ( System.TimeSpan span ) : string | ||
span | System.TimeSpan | |
return | string |