Script Task runtime object
Namespace:
T.Modules.Script
Assembly: T.Modules (in T.Modules.dll)
Top
Top
Top
Assembly: T.Modules (in T.Modules.dll)
| Name | Description | |
|---|---|---|
|
ScriptTask(RunObj, int) | Construct the instance |
| Name | Description | |
|---|---|---|
|
Category | String with configured categories of ScriptTask. |
|
Description | Gets the ScriptTask Description configured in EditScriptsTasks. |
|
Disable | Disables the ScriptTask execution when the value is greather than zero. |
|
Domain |
Indicates the ScriptTask Domain
Server: The ScriptTask runs in the Server context, it cannot access Client objects i.e., Displays or client domain tags. Client: The ScriptTask runs in each Client where the ModuleScript is running. |
|
ErrorMessage | Contains the message with the last (most recent) error that occurred in the script execution. |
|
ExecutionsCount | Gets the executions amount since the module has started. |
|
Expression | Gets the expression information. |
|
LastCPUTime | Gets the CPU time used during the last (most recent) execution of the script. |
|
LastExecution | Contains the TimeSpan of the last (most recent) execution of the script. |
|
LastPeakCPUTimeTimeStamp | Gets the Peak CPU time used during all execution of the script. |
|
Level | String with configured levels of ScriptTask. |
|
Period | Period of time required to execute a Task. |
|
Running | Indicates if the current script is running. |
|
StopExecutionOnError | Flag to indicate if stop script execution on error. |
|
Trigger | Gets the Tag or Object that triggers the Task execution. |
| Name | Description | |
|---|---|---|
|
CreateEvent(object, bool, bool, int) | Create an event to be executed |
|
GetEvent() | Return object containing information being executed |