This document is archived and information here might be outdated.  Recommended version.


IGeoProcessor.AddWarning Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGeoProcessor.AddWarning Method

Output a warning message. When running within a script tool, message becomes part of the tool messages, otherwise outputs to console

[Visual Basic .NET]
Public Sub AddWarning ( _
    ByVal message As String _
)
[C#]
public void AddWarning (
    string message
);
[C++]
HRESULT AddWarning(
  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

IGeoProcessor Interface