Condividi tramite


DkmStackWalkFrame.ComputeUserStatus(DkmInspectionSession, Boolean) Method

Definition

Determines whether or not a frame is user code.

Location constraint: API must be called from an IDE component (component level > 100,000).

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);
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

Parameters

InspectionSession
DkmInspectionSession

[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

[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.

Returns

[Out] True if the frame is user code, false if the frame is nonuser code.

Applies to