ArcGIS Pro 2.6 API Reference Guide
TaskException Class
Members 

ArcGIS.Desktop.TaskAssistant Namespace : TaskException Class
Represents an error exception within the Tasks framework.
Syntax
Inheritance Hierarchy

System.Object
   System.Exception
      ArcGIS.Desktop.TaskAssistant.TaskException
         ArcGIS.Desktop.TaskAssistant.ExportTaskException
         ArcGIS.Desktop.TaskAssistant.OpenTaskException
         ArcGIS.Desktop.TaskAssistant.TaskFileVersionException

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

TaskException Members
ArcGIS.Desktop.TaskAssistant Namespace