STK XSend comments on this topic.
OnLogMessage Method (IAgSTKXApplicationRawEvents)
See Also 
Message
MsgType
ErrorCode
FileName
LineNo
DispID
Windows






Windows & Linux

Description

Triggered when a new message is logged.

Syntax

[Visual Basic .NET]
Public Sub OnLogMessage( _
   ByVal Message As String, _
   ByVal MsgType As AgELogMsgType, _
   ByVal ErrorCode As Integer, _
   ByVal FileName As String, _
   ByVal LineNo As Integer, _
   ByVal DispID As AgELogMsgDispID _
) 
[C#]
public void OnLogMessage(
   string Message,
   AgELogMsgType MsgType,
   int ErrorCode,
   string FileName,
   int LineNo,
   AgELogMsgDispID DispID
);
[Managed C++]
public: void OnLogMessage(
   String __gc ^ Message,
   AgELogMsgType MsgType,
   int ErrorCode,
   String __gc ^ FileName,
   int LineNo,
   AgELogMsgDispID DispID
);
[Java]
public  onLogMessage(
   String Message,
   AgELogMsgType MsgType,
   int ErrorCode,
   String FileName,
   int LineNo,
   AgELogMsgDispID DispID
);
[Unmanaged C++]
public: HRESULT OnLogMessage(
   BSTR Message,
   AgELogMsgType MsgType,
   long ErrorCode,
   BSTR FileName,
   long LineNo,
   AgELogMsgDispID DispID
);

Parameters

Message
MsgType
MemberValueDescription
eLogMsgDebug0Debugging message.
eLogMsgInfo1Informational message.
eLogMsgForceInfo2Informational message.
eLogMsgWarning3Warning message.
eLogMsgAlarm4Alarm message.
ErrorCode
FileName
LineNo
DispID
MemberValueDescription
eLogMsgDispAll-1STK displays the message in all the log destination.
eLogMsgDispDefault0STK displays the message in the default log destination.
eLogMsgDispMsgWin1STK displays the message in the message window.
eLogMsgDispStatusBar2STK displays the message in the status bar.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.