Gets the task status.
Namespace: AGI.Parallel.Infrastructure
Assembly: AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 1.2.0.275 (1.2.0.275)

Syntax

C#
public TaskStatus TaskStatus { get; internal set; }
Visual Basic
Public Property TaskStatus As TaskStatus
        Get
        Friend Set

Field Value

The task status.

Examples

  Copy imageCopy
if (job.Tasks[0].TaskStatus == TaskStatus.Completed)
{
    // Task executed successfully.
    // Process results.
}
else
{
    // There was an issue in the task.
    // Perform error handling.
}

See Also