Difference between revisions of "CatTaskStatusCancelled class"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=<nowiki>CatTaskStatusCancelled</nowiki> |Description=<nowiki>Cancellation status for a cattask</nowiki> |Methods= {{CGscriptMethods_Template|Ret...")
 
Line 9: Line 9:
 
{{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(104675);
 +
print(e.ObjectTypeName);//CatTaskStatusCancelled
 +
print(e.Status);//Rescheduled by user
 +
</source>

Revision as of 04:36, 13 July 2017

CatTaskStatusCancelled



Cancellation status for a cattask


Methods

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

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • string Status { get; } - Last progress notification
  • TypeInformation TypeInformation { get; } - Get information about this class.

Examples

CatTaskScheduleHelper ct = new CatTaskScheduleHelper ();
object e = ct.GetTaskStatusByInstanceId(104675);
print(e.ObjectTypeName);//CatTaskStatusCancelled
print(e.Status);//Rescheduled by user