ArcObjects Library Reference  (GeoDatabase)    

IGPMessage.ErrorCode Property

The error code for the geoprocessing message.

[Visual Basic 6.0]
Property ErrorCode As Long
[Visual Basic .NET]
Public Property ErrorCode As Integer
[C#]
public int ErrorCode {get; set;}
[Java]
public int getErrorCode()
throws
    IOException,
    AutomationException
[Java]
public void setErrorCode(
Long ErrorCode
)
throws
    IOException,
    AutomationException
[C++]
HRESULT get_ErrorCode(
  long* ErrorCode
);
[C++]
HRESULT put_ErrorCode(
  long ErrorCode

);

[C++]

Parameters

ErrorCode [out, retval]

  ErrorCode is a parameter of type long

ErrorCode [in]

  ErrorCode is a parameter of type long

Product Availability

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

Remarks

The get_ErrorCode property returns the message's error code. It applies only to a message of type esriGPMessageTypeError.

See Also

IGPMessage Interface