ArcFM Desktop Developer Guide
ReconcileException Property
Example 


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Gets or sets the Reconcile Exception.
Syntax
'Declaration
 
Public Property ReconcileException As Exception
'Usage
 
Dim instance As ActionData
Dim value As Exception
 
instance.ReconcileException = value
 
value = instance.ReconcileException
public Exception ReconcileException {get; set;}
Remarks
This value will be null if the version has not yet been reconciled or if no Exceptions were thrown during the reconcile process.
Example
This sample shows a use of the ReconcileException property in conjuction with HasReconcileError. within the implementation of the SubExecute method of an ActionHandler.
protected override bool SubExecute(ActionData actionData, GdbmParameter[] parameters)
{
    if (actionData.HasReconcileError)
    {
        Exception reconcileException = actionData.ReconcileException;
        Console.WriteLine( string.Format("Reconcile failed : {0}", reconcileException.Message);
    }
}
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

ActionData Class
ActionData Members
HasReconcileError Property

 

 


Send Comment