ResourceState 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.
Defines the states of a core.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum ResourceState
type ResourceState =
Public Enum ResourceState
- Inheritance
-
ResourceState
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Offline | 0 | The core is offline. |
| Idle | 1 | The core is idle and ready to run a job. |
| ScheduledReserve | 2 | The core is reserved to run a job sometime in the future. |
| JobScheduled | 4 | A job is scheduled on the core but is not yet running tasks. |
| ReadyForTask | 8 | The core ready and waiting for a task to run. |
| TaskScheduled | 16 | Scheduled the core to run the task. |
| JobTaskScheduled | 32 | Scheduled the core to run the job. |
| TaskDispatched | 64 | Sent a request to the core to run the task. |
| JobTaskDispatched | 128 | Sent a request to the core to run the job. |
| TaskRunning | 256 | The core is running the task. |
| CloseTask | 512 | The core is in the process of closing the task (the task finished running). |
| CloseTaskDispatched | 1024 | Sent a request to the core to close the task. |
| TaskClosed | 2048 | The task is closed on the core. |
| CloseJob | 4096 | The core is in the process of closing the job (all tasks have finished running). |
| All | 8191 | A mask that represent all state values. |
| NA | 2147483647 | Unknown state. |