TaskRunStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The lifecycle status of a resilient task as reported by the task store.
public enum TaskRunStatus
type TaskRunStatus =
Public Enum TaskRunStatus
- Inheritance
-
TaskRunStatus
Fields
| Name | Value | Description |
|---|---|---|
| Pending | 0 | The task record exists but execution has not started. |
| InProgress | 1 | The task is currently leased and executing. |
| Suspended | 2 | A multi-turn task is parked between turns, awaiting the next input. |
| Completed | 3 | The task has reached a terminal state and is immutable. |
Remarks
Mirrors the cross-language wire protocol status values. The wire form uses lower-case snake-case strings (for example in_progress); the serialization layer normalizes the legacy alias done to Completed.