Partager via


ICorDebugProcess::ModifyLogSwitch Method

Sets the severity level of the specified log switch.

HRESULT ModifyLogSwitch(
    [in] WCHAR *pLogSwitchName,
    [in] LONG  lLevel);

Parameters

  • pLogSwitchName
    [in] A pointer to a string that specifies the name of the log switch.

  • lLevel
    [in] The severity level to be set for the specified log switch.

Remarks

This method is valid only after the ICorDebugManagedCallback::CreateProcess callback has occurred.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICorDebugProcess Interface

ICorDebugProcess2 Interface