• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Property TaskFailureReason

TaskFailureReason

Returns reason behind the failure of task.

Declaration
string TaskFailureReason { get; }
Property Value
Type Description
System.String
Examples

Example prints task failure reason

if (result.TaskStatus == TaskCompletionStatus.Failure)
{
    Console.WriteLine(result.TaskFailureReason);
}
Back to top Copyright © 2017 Alachisoft