Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Gets an HRESULT that indicates whether it is safe to set the instruction pointer to the specified offset location in common intermediate language (CIL) code.
Syntax
HRESULT CanSetIP (
[in] ULONG32 nOffset
);
Parameters
nOffset
[in] The desired setting for the instruction pointer.
Remarks
Use the CanSetIP method before calling the ICorDebugILFrame::SetIP method. If CanSetIP returns any HRESULT other than S_OK, you can still invoke ICorDebugILFrame::SetIP, but there is no guarantee that the debugger will continue the safe and correct execution of the code being debugged.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug,h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0