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
All | 8191 | A mask that represent all state values. |
CloseJob | 4096 | The core is in the process of closing the job (all tasks have finished running). |
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. |
Idle | 1 | The core is idle and ready to run a job. |
JobScheduled | 4 | A job is scheduled on the core but is not yet running tasks. |
JobTaskDispatched | 128 | Sent a request to the core to run the job. |
JobTaskScheduled | 32 | Scheduled the core to run the job. |
NA | 2147483647 | Unknown state. |
Offline | 0 | The core is offline. |
ReadyForTask | 8 | The core ready and waiting for a task to run. |
ScheduledReserve | 2 | The core is reserved to run a job sometime in the future. |
TaskClosed | 2048 | The task is closed on the core. |
TaskDispatched | 64 | Sent a request to the core to run the task. |
TaskRunning | 256 | The core is running the task. |
TaskScheduled | 16 | Scheduled the core to run the task. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for