Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

CatTaskStatusProgress class: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
Created page with "{{CGscriptClass_Template |Name=<nowiki>CatTaskStatusProgress</nowiki> |Description=<nowiki>Progress status for a cattask</nowiki> |Methods= {{CGscriptMethods_Template|ReturnTy..."
 
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);//CatTaskStatusProgress
print(e.Status);//BulkMail_RebuildingGroups
</source>

Revision as of 07:24, 13 July 2017

CatTaskStatusProgress



Progress status for a cattask


Methods

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

Properties

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

Examples

CatTaskScheduleHelper ct = new CatTaskScheduleHelper();
object e = ct.GetTaskStatusByInstanceId(104907);
print(e.ObjectTypeName);//CatTaskStatusProgress
print(e.Status);//BulkMail_RebuildingGroups