Show / Hide Table of Contents

Class TaskState

Represents different states a (usually Web- or IO-related) task can be in.

Inheritance
Object
TaskState
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

Extension Methods

UpdateUtils.To<TIn, TOut>(TIn, Func<TIn, TOut>)
JsonStorage.SaveJson<T>(T, Stream)
JsonStorage.SaveJson<T>(T, String)
JsonStorage.ToJsonString<T>(T)
JsonStorage.ReparseAsJson<T>(Object)
JsonStorage.ReparseAsJson<T>(Object, T)
XmlStorage.SaveXml(Object, Stream, String)
XmlStorage.SaveXml<T>(T, String, String)
XmlStorage.ToXmlString(Object, String)
ConversionUtils.ConvertToString<TType>(TType)

See Also

State
In This Article
Back to top Copyright Bastian Eicher