ArcObjects Library Reference  (System)    

ILog.AddMessage Method

Adds a message to the log.

[Visual Basic 6.0]
Sub AddMessage(
    ByVal msgType As Long, _
    ByVal msgCode As Long, _
    ByVal msg As String _
)
[Visual Basic .NET]
Public Sub AddMessage ( _
    ByVal msgType As Integer, _
    ByVal msgCode As Integer, _
    ByVal msg As String _
)
[C#]
public void AddMessage (
    int msgType,
    int msgCode,
    string msg
);
[Java]
public void addMessage (
    int msgType,
    int msgCode,
    String msg
)
throws
    IOException,
    AutomationException
[C++]
HRESULT AddMessage(
  long msgType,
  long msgCode,
  BSTR msg
);
[C++]

Parameters

msgType [in]

  msgType is a parameter of type long

msgCode [in]

  msgCode is a parameter of type long

msg [in]

  msg is a parameter of type BSTR

Product Availability

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

See Also

ILog Interface