Difference between revisions of "CatTaskStatusCompletedForCgScript class"
Nguyenduyan (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>CatTaskStatusCompletedForCgScript</nowiki> |Description=<nowiki>Failure report for a cattask</nowiki> |Methods= {{CGscriptMethods_Templa...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{CGscriptClass_Template | {{CGscriptClass_Template | ||
|Name=<nowiki>CatTaskStatusCompletedForCgScript</nowiki> | |Name=<nowiki>CatTaskStatusCompletedForCgScript</nowiki> | ||
− | |Description=<nowiki> | + | |Description=<nowiki>Completion report for cgscript for a cattask</nowiki> |
− | |Methods= | + | |InheritsFrom=CatTaskStatus|Methods= |
− | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} | + | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}} |
|Properties= | |Properties= | ||
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | ||
{{CGscriptProperties_Template|ReturnType=object|Name=<nowiki>ReturnValue</nowiki>|HasGetter=1|Description=<nowiki>Return value from execution</nowiki>}} | {{CGscriptProperties_Template|ReturnType=object|Name=<nowiki>ReturnValue</nowiki>|HasGetter=1|Description=<nowiki>Return value from execution</nowiki>}} | ||
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>Status</nowiki>|HasGetter=1|Description=<nowiki>Output from print statements</nowiki>}} | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>Status</nowiki>|HasGetter=1|Description=<nowiki>Output from print statements</nowiki>}} | ||
− | {{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|Inherited=object|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> |
Latest revision as of 06:32, 2 July 2020
CatTaskStatusCompletedForCgScript
Completion report for cgscript 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.
- object ReturnValue { get; } - Return value from execution
- string Status { get; } - Output from print statements
- (From object) 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