ICorDebugProcess7::SetWriteableMetadataUpdateMode Method

[Supported in the .NET Framework 4.5.2 and later versions]

Configures how the debugger handles in-memory updates to metadata within the target process.

Syntax

HRESULT SetWriteableMetadataUpdateMode(
   WriteableMetadataUpdateMode flags
);

Parameters

flags A WriteableMetadataUpdateMode enumeration value that specifies whether in-memory updates to metadata in the target process are visible (WriteableMetadataUpdateMode::AlwaysShowUpdates) or not visible (WriteableMetadataUpdateMode::LegacyCompatPolicy) to the debugger.

Remarks

Updates to the metadata of the target process can come from Edit and Continue, a profiler, or System.Reflection.Emit.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5.2

See also