This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPMessages Interface > IGPMessages.ReplaceError Method (ArcObjects .NET 10.5 SDK) |
Creates message of type esriGPMessageTypeError and replaces it into a specified position.
[Visual Basic .NET] Public Sub ReplaceError ( _ ByVal Index As Integer, _ ByVal ErrorCode As Integer, _ ByVal Message As String _ )
[C#] public void ReplaceError ( int Index, int ErrorCode, string Message );
[C++]
HRESULT ReplaceError(
long Index,
long ErrorCode,
BSTR Message
);
[C++]
Parameters Index [in] Index is a parameter of type long ErrorCode [in] ErrorCode is a parameter of type long Message [in] Message is a parameter of type BSTR
The ReplaceError method creates a GPMessage of type esriGPMEssageTypeError and replaces it into a specified position in this GPMessages collection.