This document is archived and information here might be outdated.  Recommended version.


ICalculatorCallback.CalculatorError Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabaseUI)  

ICalculatorCallback.CalculatorError Method

Error message provided by the calculator.

[Visual Basic .NET]
Public Function CalculatorError ( _
    ByVal rowID As Integer, _
    ByVal bHasOID As Boolean, _
    ByVal errorType As esriCalculatorErrorType, _
    ByVal bShowPrompt As Boolean, _
    ByVal errorMsg As String _
) As Boolean
[C#]
public bool CalculatorError (
    int rowID,
    bool bHasOID,
    esriCalculatorErrorType errorType,
    bool bShowPrompt,
    string errorMsg
);

Product Availability

Available with ArcGIS Desktop.

Remarks

CalculatorError is called when calculation process will no longer continue. Error messages, error types and the row id of the record where the calculation failed, may be written to an error log for reference.

See Also

ICalculatorCallback Interface