This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.AddWarning Method (ArcObjects .NET 10.5 SDK) |
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