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


IGPMessageManager.GenerateMessage Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPMessageManager.GenerateMessage Method

Generate a given message from the message id.

[Visual Basic .NET]
Public Function GenerateMessage ( _
    ByVal Type As esriGPMessageType, _
    ByVal ID As Integer _
) As String
[C#]
public string GenerateMessage (
    esriGPMessageType Type,
    int ID
);
[C++]
HRESULT GenerateMessage(
  esriGPMessageType Type,
  long ID,
  BSTR* msg
);
[C++]

Parameters Type [in]
Type is a parameter of type esriGPMessageType ID [in] ID is a parameter of type long msg [out, retval] msg is a parameter of type BSTR

Product Availability

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

See Also

IGPMessageManager Interface