ArcFM Desktop Developer Guide
Rollback Method (IMMPxSubtask)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

IMMPxNode
Allows a subtask to recover from failure. If a subtask fails, the Rollback method is called on all subtasks that were previously executed within the task. Rollback is NOT called on the failed subtask. It is the failed subtask's responsibility to recover from its own failure and handle its errors.
Syntax
'Declaration
 
Function Rollback( _
   ByVal pPxNode As IMMPxNode _
) As Boolean
'Usage
 
Dim instance As IMMPxSubtask
Dim pPxNode As IMMPxNode
Dim value As Boolean
 
value = instance.Rollback(pPxNode)
bool Rollback( 
   IMMPxNode pPxNode
)

Parameters

pPxNode
IMMPxNode

Return Value

Boolean
Example
The following code sample demonstrates how the IMMPxSubtask::Rollback method may be implemented.
Visual Basic Copy Code
Private Function IMMPxSubtask_Rollback(ByVal pPxNode As Miner.Interop.Process.IMMPxNode) As Boolean
    IMMPxSubtask_Rollback = True
End Function
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

IMMPxSubtask Interface
IMMPxSubtask Members

 

 


Send Comment