IDkmClrFrameTypesProvider.GetFrameArgumentAndLocalTypes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
调用 GetFrameArgumentAndLocalTypes 可获取帧的所有参数和局部变量的类型,按其槽索引排序。
public:
void GetFrameArgumentAndLocalTypes(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ frame, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ % thisType, [Runtime::InteropServices::Out] cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^> ^ % argumentTypes, [Runtime::InteropServices::Out] cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^> ^ % localTypes);
public void GetFrameArgumentAndLocalTypes (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame frame, out Microsoft.VisualStudio.Debugger.Clr.DkmClrType thisType, out Microsoft.VisualStudio.Debugger.Clr.DkmClrType[] argumentTypes, out Microsoft.VisualStudio.Debugger.Clr.DkmClrType[] localTypes);
abstract member GetFrameArgumentAndLocalTypes : Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * DkmClrType * DkmClrType[] * DkmClrType[] -> unit
Public Sub GetFrameArgumentAndLocalTypes (frame As DkmStackWalkFrame, ByRef thisType As DkmClrType, ByRef argumentTypes As DkmClrType(), ByRef localTypes As DkmClrType())
参数
- frame
- DkmStackWalkFrame
中DkmStackWalkFrame 表示调用堆栈上的一个帧,该帧已遍历,但可能未进行格式设置或筛选。 格式化的帧由 DkmStackFrame 表示。
- thisType
- DkmClrType
[Out,Optional]非静态方法的 "this" 类型的类型。
- argumentTypes
- DkmClrType[]
弄元数据中的参数索引排序的参数类型。
- localTypes
- DkmClrType[]
弄按槽索引排序的局部变量的类型。