ArcFM Responder Mobile Developer Guide
ReconcileException Property
Example 






Gets or sets the Reconcile Exception.
Syntax
'Declaration
 
Public Property ReconcileException As System.Exception
'Usage
 
Dim instance As ActionData
Dim value As System.Exception
 
instance.ReconcileException = value
 
value = instance.ReconcileException
public System.Exception ReconcileException {get; set;}
public read-write property ReconcileException: System.Exception; 
public function get,set ReconcileException : System.Exception
public: __property System.Exception* get_ReconcileException();
public: __property void set_ReconcileException( 
   System.Exception* value
);
public:
property System.Exception^ ReconcileException {
   System.Exception^ get();
   void set (    System.Exception^ value);
}
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ActionData Class
ActionData Members
HasReconcileError Property

Send Feedback