Show / Hide Table of Contents

# Tasks API classes and interfaces

### Classes

#### GenericFault

Used for faults that do not have data held, and which are probably not handled in a special way by the caller.

#### TaskDoesNotExistFault

Fault signalling that querying the result of the task failed because the task does not exist.

#### TaskInfo

Describes the state of an asynchronous task.

#### TaskNotFinishedFault

Fault signalling that querying the result of the task is not a valid operation while the task is not finished yet.

#### TaskResult

Result object of tasks. Specific tasks may have specific result objects, inheriting from this class. Exact type is described on the interface where the operation is started.

#### UnexpectedFault

Throw in case of unexpected errors

### Interfaces

#### ITasksService

Operations related to the management of asynchronous tasks. Tasks are started by operations that are available on other interfaces, this interfaces handles operations on already started tasks.

### Enums

#### TaskStatus

Enumeration representing different light resource types.