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


IGPMessages.AddWarning Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPMessages.AddWarning Method

Adds a warning message to the messages.

[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.

Remarks

The AddWarning method creates a GPMessage of type esriGPMEssageTypeWarning and adds it to this collection.

See Also

IGPMessages Interface