This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPMessage Interface > IGPMessage.ErrorCode Property (ArcObjects .NET 10.4 SDK) |
The error code for the geoprocessing message.
[Visual Basic .NET] Public Property ErrorCode As Integer
[C#] public int ErrorCode {get; set;}
[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
The get_ErrorCode property returns the message's error code. It applies only to a message of type esriGPMessageTypeError.