共用方式為


ICorDebugProcess2::GetDesiredNGENCompilerFlags 方法

取得目前的編譯器旗標設定,公用語言執行階段 (CLR) 用來選取要載入此程式的正確預先編譯 (也就是原生) 映像。

語法

HRESULT GetDesiredNGENCompilerFlags (
    [out] DWORD   *pdwFlags
);

參數

pdwFlags [出] CorDebugJITCompilerFlags 列舉值位元組合的指標,可用來選取要載入的正確預先編譯映像。

備註

使用 ICorDebugProcess2::SetDesiredNGENCompilerFlags 方法來設定 CLR 用來選取要載入的正確預先編譯映像的旗標。

需求

平台: 請參閱 .NET 支援的作業系統

標題: CorDebug.idl、CorDebug.h

圖書館: CorGuids.lib

.NET 版本: 自 .NET Framework 2.0 起提供