Create an event to be executed

Namespace: T.Modules.Script
Assembly: T.Modules (in T.Modules.dll)

Public Overridable Function CreateEvent( _ 
ByVal obj As Object, _ 
Optional ByVal isSequential As Boolean = true, _ 
Optional ByVal addToLast As Boolean = true, _ 
Optional ByVal priority As Integer = 0 _ 
) As Integer
This language is not supported or no code example is available.
public virtual int CreateEvent( 
object obj
bool isSequential = true, 
bool addToLast = true, 
int priority = 0 
)
This language is not supported or no code example is available.
public:  
virtual int CreateEvent( 
object^ obj
bool isSequential
bool addToLast
int priority 
)
This language is not supported or no code example is available.
public function CreateEvent( 
obj : object
isSequential : boolean
addToLast : boolean
priority : int 
) : int;
This language is not supported or no code example is available.

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

If success returns 0 else returns > 0 (1: Client Task Events cannot be created, 2: Script Task Server is not running)

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4, 3.5 SP1