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.
Provides methods for querying information about a stack frame.
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.
Methods
| Method | Description |
|---|---|
| GetNumArguments | Gets the number of arguments on the stack. |
| GetNumLocalVariables | Gets the number of local variables on the stack. |
| GetMethodInstance | Gets the method instance corresponding to the stack frame. |
| GetArgumentByIndex | Gets an argument variable by (0-based) index. |
| GetLocalVariableByIndex | Gets a local variable by (0-based) index. |
Remarks
This interface lives inside the runtime and is not exposed through any headers or library files. However, it's a COM interface that derives from IUnknown with GUID 271498C2-4085-4766-BC3A-7F8ED188A173 that can be obtained through the usual COM mechanisms.
Requirements
Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7