Skip to content

Latest commit

 

History

History
85 lines (65 loc) · 2.42 KB

ne-taskschd-task_state.md

File metadata and controls

85 lines (65 loc) · 2.42 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:taskschd._TASK_STATE
TASK_STATE (taskschd.h)
Defines the different states that a registered task can be in.
TASK_STATE
TASK_STATE enumeration [Task Scheduler]
TASK_STATE_DISABLED
TASK_STATE_QUEUED
TASK_STATE_READY
TASK_STATE_RUNNING
TASK_STATE_UNKNOWN
taskschd.task_state
taskschd/TASK_STATE
taskschd/TASK_STATE_DISABLED
taskschd/TASK_STATE_QUEUED
taskschd/TASK_STATE_READY
taskschd/TASK_STATE_RUNNING
taskschd/TASK_STATE_UNKNOWN
taskschd\task_state.htm
taskschd
89fd8b0b-1cdf-4222-99cc-d8c55a3e68d6
12/05/2018
TASK_STATE, TASK_STATE enumeration [Task Scheduler], TASK_STATE_DISABLED, TASK_STATE_QUEUED, TASK_STATE_READY, TASK_STATE_RUNNING, TASK_STATE_UNKNOWN, taskschd.task_state, taskschd/TASK_STATE, taskschd/TASK_STATE_DISABLED, taskschd/TASK_STATE_QUEUED, taskschd/TASK_STATE_READY, taskschd/TASK_STATE_RUNNING, taskschd/TASK_STATE_UNKNOWN
taskschd.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
TASK_STATE
19H1
_TASK_STATE
taskschd/_TASK_STATE
TASK_STATE
taskschd/TASK_STATE
c++
APIRef
kbSyntax
HeaderDef
taskschd.h
TASK_STATE

TASK_STATE enumeration

-description

Defines the different states that a registered task can be in.

-enum-fields

-field TASK_STATE_UNKNOWN:0

The state of the task is unknown.

-field TASK_STATE_DISABLED:1

The task is registered but is disabled and no instances of the task are queued or running. The task cannot be run until it is enabled.

-field TASK_STATE_QUEUED:2

Instances of the task are queued.

-field TASK_STATE_READY:3

The task is ready to be executed, but no instances are queued or running.

-field TASK_STATE_RUNNING:4

One or more instances of the task is running.

-see-also

Task Scheduler

Task Scheduler Enumerated Types