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


IGPMessage2.CreateIDMessage1Args Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPMessage2.CreateIDMessage1Args Method

Creates the error or warning message with code ID, one argument.

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

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

Product Availability

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

See Also

IGPMessage2 Interface