AGI STK Objects 11 Send comments on this topic.
OnLogMessage Method (IAgStkObjectRootEvents)
See Also 
Message
The message being logged.
MsgType
The type of message.
ErrorCode
The error code.
Filename
The filename where the error occurred.
LineNo
The line number where the error occurred.
DispID
The dispid.





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
The message being logged.
MsgType
The type of message.
ErrorCode
The error code.
Filename
The filename where the error occurred.
LineNo
The line number where the error occurred.
DispID
The dispid.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1