ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Core.Geoprocessing Namespace / IGPResult Interface / ErrorCode Property

In This Topic
    ErrorCode Property (IGPResult)
    In This Topic
    Error code for tool execution result:
    • 0 : Success (tool executed without any error)
    • not 0 : Tool failed or was canceled.
    Syntax
    int ErrorCode {get;}
    ReadOnly Property ErrorCode As Integer
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also