TaskTaskCancellationMessage Property |
Namespace: AGI.Parallel.Infrastructure
if (job.Tasks[0].TaskStatus == TaskStatus.Canceled) { if (!string.IsNullOrEmpty(job.Tasks[0].TaskCancellationMessage)) { Console.WriteLine("Task was canceled. Message was: " + job.Tasks[0].TaskCancellationMessage); } }
STK Parallel Computing Server 2.9 API for .NET