[This is preliminary documentation and is subject to change.]
The SchedulerTask type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| RunForever(TimeSpan) | Runs the task forever at a given interval, until manually stopped. | |
| RunForever(TimeSpan, TimeSpan) | Runs the task forever at a given interval after an initial delay, until manually stopped. | |
| RunForever(Object, TimeSpan, TimeSpan) | 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(DateTime) | 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(TimeSpan) | 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(DateTime) | Runs the task once at a given date.
If the given date is in the past, the task is ran immediately. | |
| RunOnce(TimeSpan) | Runs the task once, after a given delay. | |
| RunOnce(Object, DateTime) | Runs the task once at a given date.
If the given date is in the past, the task is ran immediately. | |
| RunOnce(Object, TimeSpan) | Runs the task once, after a given delay. | |
| RunRepeating(TimeSpan, TimeSpan, Int32) | Runs the task a given number of times, at a given interval after an initial delay. | |
| RunRepeating(Object, TimeSpan, TimeSpan, Int32) | 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. | |
| ToString()()()() | (Overrides Object..::..ToString()()()().) |