IXCLRDataStackWalk::SetContext Method
Changes the current context of this stack walk, allowing the debugger to move it to an arbitrary context. Does not actually alter the current context of the thread whose stack is being walked.
NOTE: This method is obsolete.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug
and ICorProfiler
APIs when possible.
Syntax
HRESULT SetContext(
[in] ULONG32 contextSize,
[in, size_is(contextSize)] BYTE context[]
);
Parameters
contextSize
[in] The size of the context record in the context
buffer.
context
[in] The context to change the stack walker to.
Remarks
The provided method is part of the IXCLRDataStackWalk
interface and corresponds to the 5th slot of the virtual method table.
Requirements
Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7