Task |
The TaskWorker Type exposes the following members.
| Name | Description of the | |
|---|---|---|
| TaskWorker | Standard constructor. |
| Name | Description of the | |
|---|---|---|
| WorkerStatus | Current status of the TaskWorker: Ready, Running or Halted. |
| Name | Description of the | |
|---|---|---|
| BreakTask | Cancel the task. | |
| ContinueTask | Allows the paused TaskWorker to continue running. | |
| Dispose | Public method for cleaning up. | |
| Dispose(Boolean) | Tidying up here. | |
| Finalise |
Finaliser: is called by the GarbageCollector.
(Overwrites ObjectFinalise) | |
| HaltTask | Attempts to stop the TaskWorker (Loop+Sleep). | |
| OnTaskProgressChanged | Reports the task progress to routines that are in TaskProgressChanged have mounted. | |
| OnTaskProgressFinished | Reports the end of the task to routines that are in TaskProgressFinished have been added. | |
| RunTask(ActionTaskWorker) | Starts the processing of an asynchronous task (is itself still synchronous). | |
| RunTask(ActionTaskWorker, Object, Object) | Starts the processing of an asynchronous task (is itself still synchronous). | |
| WaitForTask | Waits for the task to finish. |
| Name | Description of the | |
|---|---|---|
| TaskProgressChanged | Is called up when the processing progress of a task has changed. | |
| TaskProgressFinished | Is called up when the processing of a task has been completed. |