ICorDebugProcess7::SetWriteableMetadataUpdateMode 方法ICorDebugProcess7::SetWriteableMetadataUpdateMode Method

[.NET Framework 4.5.2 與更新版本提供支援][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
WriteableMetadataUpdateMode列舉值,這個值會指定在目標進程中中繼資料的記憶體中更新是否為可見的 (WriteableMetadataUpdateMode::AlwaysShowUpdates) ,或在 WriteableMetadataUpdateMode::LegacyCompatPolicy 偵錯工具) 看不到 (。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

對目標處理序之中繼資料的更新可能是透過 [編輯後繼續]、分析工具或 System.Reflection.EmitUpdates to the metadata of the target process can come from Edit and Continue, a profiler, or System.Reflection.Emit.

需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 4.5.2 起可用Available since 4.5.2.NET Framework Versions: 自 4.5.2 起可用Available since 4.5.2

另請參閱See also