CatTaskStatusFailed class

From Catglobe Wiki
Revision as of 06:30, 2 July 2020 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CatTaskStatusFailed


Failure report for a cattask

Parent class

Inherits from CatTaskStatus

Methods

  • (From object) string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • string Status { get; } - Error report
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.


Examples

CatTaskScheduleHelper ct = new CatTaskScheduleHelper();
object e = ct.GetTaskStatusByInstanceId(104896);
print(e.ObjectTypeName);//CatTaskStatusFailed
print(e.Status);//Catglobe.Common.ErrorHandling.Exceptions.RuntimeException: Index was out of range. Must be non-negative and less than the size of the collection.