ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.AddWarning Method

Sets the output warning message.

[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

IGpDispatch Interface