DkmInspectionContext.GetFrameName Method

Definition

Provides a text representation for a stack frame. This is used when building the formatted call stack.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

Location constraint: IDE components may call this method regardless of what type of code is being debugged. This method is also currently supported for debug monitor components, when debugging code running under the CLR; however this functionality may be removed in a future version.

public:
 void GetFrameName(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ Frame, Microsoft::VisualStudio::Debugger::Evaluation::DkmVariableInfoFlags ArgumentFlags, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::DkmGetFrameNameAsyncResult> ^ CompletionRoutine);
public void GetFrameName (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame Frame, Microsoft.VisualStudio.Debugger.Evaluation.DkmVariableInfoFlags ArgumentFlags, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmGetFrameNameAsyncResult> CompletionRoutine);
member this.GetFrameName : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.Evaluation.DkmVariableInfoFlags * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmGetFrameNameAsyncResult> -> unit
Public Sub GetFrameName (WorkList As DkmWorkList, Frame As DkmStackWalkFrame, ArgumentFlags As DkmVariableInfoFlags, CompletionRoutine As DkmCompletionRoutine(Of DkmGetFrameNameAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

Frame
DkmStackWalkFrame

[In] Walked frames which the evaluator is requested to describe.

ArgumentFlags
DkmVariableInfoFlags

[In] Flags to indicate what information about the arguments should be included in the frame name.

CompletionRoutine
DkmCompletionRoutine<DkmGetFrameNameAsyncResult>

Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.

Applies to