This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseUI > ESRI.ArcGIS.GeoDatabaseUI > Interfaces > IC > ICalculatorCallback Interface > ICalculatorCallback.CalculatorError Method (ArcObjects .NET 10.4 SDK) |
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 );
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.