ArcFM Desktop Developer Guide
Execute Method (IMMPxTask)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

IMMPxNode
All of the subtasks associated with the task are executed in order. If any of the subtasks fail, the Execute method will call IMMPxSubtask.Rollback in the reverse order on all of the subtasks that were executed successfully. Execute will also return false to indicate that the task failed. If all of the subtasks execute successfully and the task has an associated transition, the state of the node for which the task was executed will be changed to the 'To State' of the transition and the Execute method will return true to indicate that the task succeeded.
Syntax
'Declaration
 
Function Execute( _
   ByVal pPxNode As IMMPxNode _
) As Boolean
'Usage
 
Dim instance As IMMPxTask
Dim pPxNode As IMMPxNode
Dim value As Boolean
 
value = instance.Execute(pPxNode)
bool Execute( 
   IMMPxNode pPxNode
)

Parameters

pPxNode
IMMPxNode

Return Value

Boolean
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMPxTask Interface
IMMPxTask Members

 

 


Send Comment