设置控制此 ICorDebugModule2 的实时 (JIT) 编译的标志。
Syntax
HRESULT SetJITCompilerFlags (
[in] DWORD dwFlags
);
参数
dwFlags [in] CorDebugJITCompilerFlags 枚举值的按位组合。
注解
dwFlags如果值无效,该方法SetJITCompilerFlags将失败。
SetJITCompilerFlags只能从此模块的 ICorDebugManagedCallback::LoadModule 回调中调用该方法。 在传递回调后 ICorDebugManagedCallback::LoadModule 尝试调用它将失败。
64 位或 Win9x 平台上不支持编辑并继续。 因此,如果在这两个平台上调用 SetJITCompilerFlags 设置了CORDEBUG_JIT_ENABLE_ENC标志 dwFlags的方法,则 SetJITCompilerFlags 特定于 Edit 和 Continue 的方法(如 ICorDebugModule2::ApplyChanges)将失败。
要求
平台: 请参阅 .NET 支持的作系统。
页眉: CorDebug.idl、CorDebug.h
图书馆: CorGuids.lib
.NET 版本: 自 .NET Framework 2.0 起可用