नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Gets a pointer to the code that this stack frame is executing.
Syntax
HRESULT GetCodeEx(
[in] ILCodeKind flags,
[out] ICorDebugCode **ppCode
);
Parameters
flags
[in] An ILCodeKind enumeration member that specifies whether the intermediate language (IL) defined by the profiler's ReJIT request is included in the frame.
ppCode
[out] A pointer to the address of an "ICorDebugCode" object that represents the code that this stack frame is executing.
Remarks
This method is similar to the ICorDebugFrame::GetCode method, except that it optionally accesses code defined by the profiler's ReJIT request. Calling this method with a flags value of ILCODE_ORIGINAL_IL is equivalent to calling GetCode; if the method is instrumented, its IL will not be accessible. ILCODE_REJIT_IL allows the debugger to access the IL defined by the profiler's ReJIT request. If the IL is not instrumented, ppCode is null, and the method returns S_OK.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 4.5.2