ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.AddError Method

Sets the output error message.

[Visual Basic .NET]
Public Sub AddError ( _
    ByVal message As String _
)
[C#]
public void AddError (
    string message
);
[C++]
HRESULT AddError(
  BSTR message
);
[C++]

Parameters

message [in]   message is a parameter of type BSTR

Product Availability

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

See Also

IGpDispatch Interface