Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an ICorDebugStackWalk object for the thread whose stack you want to unwind.
Syntax
HRESULT CreateStackWalk([out] ICorDebugStackWalk **ppStackWalk);
Parameters
ppStackWalk
[out] A pointer to address of the ICorDebugStackWalk object for the thread whose stack you want to unwind.
Return Value
This method returns the following specific HRESULTs as well as HRESULT errors that indicate method failure.
| HRESULT | Description |
|---|---|
| S_OK | The ICorDebugStackWalk object was successfully created. |
| E_FAIL | The ICorDebugStackWalk object was not created. |
Exceptions
Remarks
If the CreateStackWalk method succeeds, the returned ICorDebugStackWalk object's context is set to the thread's current context.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 4.0