DkmStackWalkFrame.ComputeUserStatus(DkmInspectionSession, Boolean) 方法

定义

确定框架是否为用户代码。Determines whether or not a frame is user code.

位置约束:必须从 IDE 组件 (组件级别 100000) 中调用 API > 。Location constraint: API must be called from an IDE component (component level > 100,000).

此 API 是在 Visual Studio 12 RTM (VS12RTM) 中引入的。This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

public:
 bool ComputeUserStatus(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, [Runtime::InteropServices::Out] bool % ExceptionImplementation);
public bool ComputeUserStatus (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, out bool ExceptionImplementation);
member this.ComputeUserStatus : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * bool -> bool
Public Function ComputeUserStatus (InspectionSession As DkmInspectionSession, ByRef ExceptionImplementation As Boolean) As Boolean

参数

InspectionSession
DkmInspectionSession

[In,可选]可选的检查会话,可用于缓存目的。[In,Optional] Optional inspection session which may be used for caching purposes. 在计算多个帧的用户状态时,将重新使用相同的检查会话。The same inspection session is reused when computing the user status of multiple frames in succession.

ExceptionImplementation
Boolean

弄如果框架是实现异常引发的库代码,则为 True。[Out] True if the frame is library code that implements the throwing of exceptions. 如果我们在此为响应引发的异常而停止,则这会导致框架折叠。This will cause the frame to be collapsed if we are stopped here in response to an exception being thrown.

返回

Boolean

弄如果框架为用户代码,则为 True; 否则为 false。[Out] True if the frame is user code, false if the frame is nonuser code.

适用于