This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor Interface > IGeoProcessor.AddError Method (ArcObjects .NET 10.4 SDK) |
Output an error message. When running within a script tool, message becomes part of the tool messages, otherwise outputs to console
[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