IStep Interface |
Represents the information of a step/task entry in a background task to be monitored. Steps are the building blocks of the Task Monitor, which is used to monitor the progress of a task.
Steps are normally constructed with full information during construction of a Task Monitor. Their property values cannot be changed.
The IStep type exposes the following members.
| Name | Description | |
|---|---|---|
| Description | Gets the description of the step. | |
| Error | Gets the error message of the step. | |
| ID | Gets the identifier of the step. | |
| Name | Gets the name of the step. | |
| State | Gets the state of the step. |
| Name | Description | |
|---|---|---|
| Begin | Changes the step's state to ON_GOING. | |
| Complete | Changes the step's state to COMPLETED. | |
| CompleteWithError | Changes the step's state to COMPLETED, but includes an error message; this is not a successful completion. |