More actions
Nguyenduyan (talk | contribs) Created page with "{{CGscriptClass_Template |Name=<nowiki>CatTaskStatusCompletedForCgScript</nowiki> |Description=<nowiki>Failure report for a cattask</nowiki> |Methods= {{CGscriptMethods_Templa..." |
Nguyenduyan (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}} | ||
}} | }} | ||
=== <span style="color:#DF8621">'''Examples'''</span> === | |||
<source lang="javascript"> | |||
CatTaskScheduleHelper ct = new CatTaskScheduleHelper(); | |||
object e = ct.GetTaskStatusByInstanceId(104907); | |||
print(e.ObjectTypeName);//CatTaskStatusCompletedForCgScript | |||
print(e.ReturnValue);//1 | |||
</source> |
Revision as of 08:16, 13 July 2017
CatTaskStatusCompletedForCgScript
Failure report for a cattask
Methods
- string ToString() - The string representation of the object.
Properties
- string ObjectTypeName { get; } - The name of the type of object.
- object ReturnValue { get; } - Return value from execution
- string Status { get; } - Output from print statements
- TypeInformation TypeInformation { get; } - Get information about this class.
Examples
CatTaskScheduleHelper ct = new CatTaskScheduleHelper();
object e = ct.GetTaskStatusByInstanceId(104907);
print(e.ObjectTypeName);//CatTaskStatusCompletedForCgScript
print(e.ReturnValue);//1