Click or drag to resize

Task.TaskStatus Property

Gets the task status.

Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 2.10.0.1777 (2.10.0.1777)
Syntax
public TaskStatus TaskStatus { get; }

Property Value

Type: TaskStatus
The task status.
Examples
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

STK Parallel Computing Server 2.10 API for .NET