A task represents a concurrently executing operation.

Namespace:  Gallio.Common.Concurrency
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public abstract class Task
Visual Basic (Declaration)
Public MustInherit Class Task

Remarks

A Task might not necessarily represent an operation that is executing in a local Thread. It can represent other processes that execute remotely or that are represented by some other mechanism.

A Task is guaranteed to send events in the following order: Started, Aborted (if applicable), Terminated. The events are dispatched synchronously such that the next event in the sequence will not be fired until the previous event is completely processed.

Inheritance Hierarchy

System..::.Object
  Gallio.Common.Concurrency..::.Task
    Gallio.Common.Concurrency..::.ProcessTask
    Gallio.Common.Concurrency..::.ThreadTask

See Also