ArcGIS Pro 3.0 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, Windows 8.1

    See Also