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


IGPMessage2.CreateIDMessage2Args Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPMessage2 Interface > IGPMessage2.CreateIDMessage2Args Method
ArcGIS Developer Help

IGPMessage2.CreateIDMessage2Args Method

Creates the error or warning message with code ID, two arguments.

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

Type is a parameter of type esriGPMessageType ErrorCode [in]
ErrorCode is a parameter of type long arg1 [in]
arg1 is a parameter of type BSTR arg2 [in]
arg2 is a parameter of type BSTR

Product Availability

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

See Also

IGPMessage2 Interface