Class TaskState
Represents different states a (usually Web- or IO-related) task can be in.
Namespace: NanoByte.Common.Tasks
Assembly: NanoByte.Common.dll
Syntax
public sealed class TaskState : Enum
Fields
Canceled
The task was canceled by the user before completion.
Declaration
public const TaskState Canceled
Field Value
Type | Description |
---|---|
TaskState |
Complete
The task has been completed successfully.
Declaration
public const TaskState Complete
Field Value
Type | Description |
---|---|
TaskState |
Data
Handling the actual data.
Declaration
public const TaskState Data
Field Value
Type | Description |
---|---|
TaskState |
Header
Handling the header.
Declaration
public const TaskState Header
Field Value
Type | Description |
---|---|
TaskState |
IOError
An error occurred while writing the file.
Declaration
public const TaskState IOError
Field Value
Type | Description |
---|---|
TaskState |
Ready
The task is ready to begin.
Declaration
public const TaskState Ready
Field Value
Type | Description |
---|---|
TaskState |
Started
The task has just been started.
Declaration
public const TaskState Started
Field Value
Type | Description |
---|---|
TaskState |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
Int32 |
WebError
An error occurred during the task.
Declaration
public const TaskState WebError
Field Value
Type | Description |
---|---|
TaskState |