ICorDebugFunction3::GetActiveReJitRequestILCode 方法ICorDebugFunction3::GetActiveReJitRequestILCode Method

[.NET Framework 4.5.2 與更新版本提供支援][Supported in the .NET Framework 4.5.2 and later versions]

從使用中的 ReJIT 要求取得包含 IL 的 ICorDebugILCode 介面指標。Gets an interface pointer to an ICorDebugILCode that contains the IL from an active ReJIT request.

語法Syntax

HRESULT GetActiveReJitRequestILCode(  
   ICorDebugILCode **ppReJitedILCode  
);  

參數Parameters

ppReJitedILCode
作用中 ReJIT 要求之 IL 的指標。A pointer to the IL from an active ReJIT request.

備註Remarks

如果此 ICorDebugFunction3 物件所代表的方法具有作用中 ReJIT 要求,則 ppReJitedILCode 會傳回其 IL 的指標。If the method represented by this ICorDebugFunction3 object has an active ReJIT request, ppReJitedILCode returns a pointer to its IL. 如果沒有作用中的要求,這是常見的情況,則 ppReJitedILCodenullIf there is no active request, which is a common case, then ppReJitedILCode is null.

當執行從 ICorProfilerCallback4:: GetReJITParameters 方法呼叫傳回之後,ReJIT 要求就會變成作用中狀態。A ReJIT request becomes active just after execution returns from the ICorProfilerCallback4::GetReJITParameters method call. 該要求可能未經 JIT 編譯,而執行緒可能仍在原始版本程式碼中執行。It may not yet be JIT-compiled, and threads may still be executing in the original version of the code. 在分析工具的 ICorProfilerInfo4:: RequestRevert 方法呼叫期間,ReJIT 要求變成非使用中。A ReJIT request becomes inactive during the profiler's call to the ICorProfilerInfo4::RequestRevert method. 即使在 IL 還原之後,執行緒仍可在 JIT 重新編譯的 (ReJIT) 程式碼中執行。Even after the IL is reverted, a thread can still be executing in the JIT-recompiled (ReJIT) code.

需求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