共用方式為


DkmInspectionContext.GetFrameArguments Method

Definition

Provides information on the arguments of a stack frame. This is currently only exposed through the VS automation model (EnvDTE.StackFrame.Arguments).

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 GetFrameArguments(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ Frame, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::DkmGetFrameArgumentsAsyncResult> ^ CompletionRoutine);
public void GetFrameArguments (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame Frame, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmGetFrameArgumentsAsyncResult> CompletionRoutine);
member this.GetFrameArguments : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmGetFrameArgumentsAsyncResult> -> unit
Public Sub GetFrameArguments (WorkList As DkmWorkList, Frame As DkmStackWalkFrame, CompletionRoutine As DkmCompletionRoutine(Of DkmGetFrameArgumentsAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

Frame
DkmStackWalkFrame

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

CompletionRoutine
DkmCompletionRoutine<DkmGetFrameArgumentsAsyncResult>

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