# Enum - TaskInfoState(vim.TaskInfo.State)

Property of
  ScheduledTaskInfo, TaskFilterSpec, TaskInfo
Parameter to
  SetTaskState

## Enum Description

List of possible states of a task.

Enum Constants

Name | Description
--- | ---
error | When a running task has encountered an error.
queued | When there are too many tasks for threads to handle.
running | When the busy thread is freed from its current task by finishing the task, it picks a queued task to run. Then the queued tasks are marked as running.
success | When a running task has completed.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="TaskInfoState"> <restriction base="xsd:string"> <enumeration value="queued"/> <enumeration value="running"/> <enumeration value="success"/> <enumeration value="error"/> </restriction> </simpleType>