Property TaskStatus
TaskStatus
Return status of Task which can be failure, success or canceled.
Declaration
TaskCompletionStatus TaskStatus { get; }
Property Value
Type | Description |
---|---|
TaskCompletionStatus |
Examples
Example gets map reduce task result enumerator when task status is successful
ITaskResult result = taskTracker.GetResult();
if (result.TaskStatus == TaskCompletionStatus.Success)
{
IDictionaryEnumerator enumResult = result.GetEnumerator();
}