Creates message of type esriGPMessageTypeError and replaces it into a specified position.
[Visual Basic 6.0] Sub ReplaceError(
ByVal Index As Long, _
ByVal ErrorCode As Long, _
ByVal Message As String _
)
[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 );
[Java] public void replaceError ( int Index, int ErrorCode, String Message ) throws IOException, AutomationException
[C++]
HRESULT ReplaceError(
long Index,
long ErrorCode,
BSTR Message
);
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.