Create an event to be executed
Namespace:
T.Modules.Script
Assembly: T.Modules (in T.Modules.dll)
Assembly: T.Modules (in T.Modules.dll)
Parameters
- obj
-
Type: object
An object containing information to be used when this task will be executed
- isSequential
-
Type: bool
Flag indicating whether this event must run only after previous event finishes
- addToLast
-
Type: bool
Flag indicating whether this event should be added to last
- priority
-
Type: int
Priority. 0: Normal, 1: AboveNormal, 2: Highest
Return Value
Type: intIf success returns 0 else returns > 0 (1: Client Task Events cannot be created, 2: Script Task Server is not running)