Freigeben über


ICorDebugManagedCallback::LogSwitch Method

Notifies the debugger that a common language runtime (CLR) managed thread has called a method in the Switch class to create, modify, or delete a debugging/tracing switch.

HRESULT LogSwitch (
    [in] ICorDebugAppDomain  *pAppDomain,
    [in] ICorDebugThread     *pThread,
    [in] LONG                 lLevel,
    [in] ULONG                ulReason,
    [in] WCHAR               *pLogSwitchName,
    [in] WCHAR               *pParentName);

Parameters

  • PAppDomain
    [in] A pointer to an ICorDebugAppDomain Interface object that represents the application domain containing the managed thread that created, modified, or deleted a debugging/tracing switch.
  • lLevel
    [in] A value that indicates the severity level of the descriptive message that was written to the event log.
  • pLogSwitchName
    [in] A pointer to the name of the debugging/tracing switch.
  • pParentName
    [in] A pointer to the name of the parent of the debugging/tracing switch.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

ICorDebugManagedCallback Interface