Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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