Share via


DkmStackWalkFrame.Format(DkmInspectionSession, DkmFrameFormatOptions) Method

Definition

Format a DkmStackWalkFrame into a DkmStackFrame. Formatting a frame is one step of what the stack provider does during GetNextFrames. This method can be used to format a frame in a different way than was originally performed by the stack provider in GetNextFrames.

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

public:
 Microsoft::VisualStudio::Debugger::CallStack::DkmStackFrame ^ Format(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, Microsoft::VisualStudio::Debugger::CallStack::DkmFrameFormatOptions Options);
public Microsoft.VisualStudio.Debugger.CallStack.DkmStackFrame Format (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.CallStack.DkmFrameFormatOptions Options);
member this.Format : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * Microsoft.VisualStudio.Debugger.CallStack.DkmFrameFormatOptions -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackFrame
Public Function Format (InspectionSession As DkmInspectionSession, Options As DkmFrameFormatOptions) As DkmStackFrame

Parameters

InspectionSession
DkmInspectionSession

[In] DkmInspectionSession allows the various components which inspect data to store private data which is associated with a group of evaluations.

Options
DkmFrameFormatOptions

[In] Collection of settings that affect how the stack provider formats a DkmStackFrame.

Returns

[Out] DkmStackFrame represents a frame on the call stack after filtering and translation.

Applies to