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


IGeoProcessor.GetReturnCode Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor Interface > IGeoProcessor.GetReturnCode Method
ArcGIS Developer Help

IGeoProcessor.GetReturnCode Method

Return the message error code (Error Messages Only) by index of the last tool executed.

[Visual Basic .NET]
Public Function GetReturnCode ( _
    ByVal Index As Integer _
) As Integer
[C#]
public int GetReturnCode (
    int Index
);
[C++]
HRESULT GetReturnCode(
  long Index
);
[C++]
Parameters
Index [in]

Index is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGeoProcessor Interface