System.Threading.TTaskStatus

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTaskStatus = (Created, WaitingToRun, Running, Completed, WaitingForChildren, Canceled, Exception);

C++

enum class DECLSPEC_DENUM TTaskStatus : unsigned char { Created, WaitingToRun, Running, Completed, WaitingForChildren, Canceled, Exception };

Properties

Type Visibility Source Unit Parent
enum public
System.Threading.pas
System.Threading.hpp
System.Threading System.Threading

Description

Options for the Status of a Task.

Enum Value Meaning

Created

Specifies if the task is already created.

WaitingToRun

Specifies that the task is paused waiting for another process to finish before.

Running

Specifies that the task is currently on process.

Completed

Specifies that the task has finished running.

WaitingForChildren

Specifies that the task is paused waiting for its children to finish before.

Canceled

Specifies that the task has been canceled.

Exception

Specifies that the task has raised an exception.

See Also