ProgressiveKestrunTaskState class
Represents the progress state of a task.
public class ProgressiveKestrunTaskState
Public Members
| name | description |
|---|---|
| ProgressiveKestrunTaskState() | The default constructor. |
| PercentComplete { get; set; } | Percentage of task completed (0-100). |
| StatusMessage { get; set; } | Optional status message for the current progress. |
| Cancel(…) | Marks the progress as cancelled with an optional message. |
| Complete(…) | Marks the progress as complete with an optional message. |
| Fail(…) | Marks the progress as failed with an optional message. |
| Reset(…) | Resets the progress state to initial values. |
| override ToString() | Returns a string representation of the progress state. |
See Also
- namespace Kestrun.Tasks