Notifies the debugger that a common language runtime (CLR) managed thread has called a method in the EventLog class to log an event.
HRESULT LogMessage (
[in] ICorDebugAppDomain *pAppDomain,
[in] ICorDebugThread *pThread,
[in] LONG lLevel,
[in] WCHAR *pLogSwitchName,
[in] WCHAR *pMessage
[in] A pointer to an ICorDebugAppDomain object that represents the application domain containing the managed thread that logged the event.
[in] A pointer to an ICorDebugThread object that represents the managed thread.
[in] A value of the LoggingLevelEnum enumeration that indicates the severity level of the descriptive message that was written to the event log.
[in] A pointer to the name of the tracing switch.
[in] A pointer to the message that was written to the event log.
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback