ArcObjects Library Reference (GeoDatabase)  

IGPMessageManager.SetMessage Method

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

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

Parameters

Type [in]

  Type is a parameter of type esriGPMessageType

ID [in]   ID is a parameter of type long 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