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


IGPMessage2.CreateIDMessage Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPMessage2.CreateIDMessage Method

Creates the error or warning message with code ID.

[Visual Basic .NET]
Public Sub CreateIDMessage ( _
    ByVal Type As esriGPMessageType, _
    ByVal ErrorCode As Integer _
)
[C#]
public void CreateIDMessage (
    esriGPMessageType Type,
    int ErrorCode
);
[C++]
HRESULT CreateIDMessage(
  esriGPMessageType Type,
  long ErrorCode
);
[C++]

Parameters Type [in]
Type is a parameter of type esriGPMessageType ErrorCode [in] ErrorCode is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPMessage2 Interface