The Task type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| Task |
Pass the default title and display description to the base class constructor
|
Methods
| Name | Description | |
|---|---|---|
| As T |
Convenience method used to typecast to a subclass of Task | |
| CloneFieldsToCore |
Override to make copies of mutable non-value-type fields
(e.g. lists and other objects but not strings since they are immutable)
and store in the memberwiseClone instance.
The base implementation does nothing since the base class only has a string field.
| |
| CreateFromTemplate |
Creates a new Task based on the template from the task registry.
| |
| Execute | Executes the task.
| |
| ExecuteCore | Implement this method to perform the task specific logic.
|
Properties
| Name | Description | |
|---|---|---|
| Description |
Task description as provided by the subclass constructor.
The task description is not serialized.
It is only used when presenting information about the available tasks,
in which case the task is registered with the task registry.
| |
| Title |
The title of the task. Used mainly for diagnostic purposes, e.g. when a class cannot be deserialized
since it hasn't been registered.
|
See Also