ArcObjects Library Reference (GeoDatabase)  

IGPMessageManager.SetMessage2Args Method

Set a given message from the message id to the messages object.

[Visual Basic .NET]
Public Sub SetMessage2Args ( _
    ByVal Type As esriGPMessageType, _
    ByVal ID As Integer, _
    ByVal arg1 As String, _
    ByVal arg2 As String, _
    ByVal pos As Integer, _
    ByVal msgs As IGPMessages _
)
[C#]
public void SetMessage2Args (
    esriGPMessageType Type,
    int ID,
    string arg1,
    string arg2,
    int pos,
    IGPMessages msgs
);
[C++]
HRESULT SetMessage2Args(
  esriGPMessageType Type,
  long ID,
  BSTR arg1,
  BSTR arg2,
  long pos,
  IGPMessages* msgs
);
[C++]

Parameters

Type [in]

  Type is a parameter of type esriGPMessageType

ID [in]   ID is a parameter of type long arg1 [in]   arg1 is a parameter of type BSTR arg2 [in]   arg2 is a parameter of type BSTR pos [in]   pos is a parameter of type long msgs [in]

  msgs is a parameter of type IGPMessages

Product Availability

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

See Also

IGPMessageManager Interface