DkmInspectionContext.EvaluateReturnValue2 Method

Definition

Evaluates and formats a given DkmRawReturnValue using solely the provided data.

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: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 void EvaluateReturnValue2(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ StackFrame, Microsoft::VisualStudio::Debugger::Evaluation::DkmRawReturnValueContainer ^ RawReturnValue, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluateReturnValueAsyncResult2> ^ CompletionRoutine);
public void EvaluateReturnValue2 (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame StackFrame, Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValueContainer RawReturnValue, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluateReturnValueAsyncResult2> CompletionRoutine);
member this.EvaluateReturnValue2 : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValueContainer * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluateReturnValueAsyncResult2> -> unit
Public Sub EvaluateReturnValue2 (WorkList As DkmWorkList, StackFrame As DkmStackWalkFrame, RawReturnValue As DkmRawReturnValueContainer, CompletionRoutine As DkmCompletionRoutine(Of DkmEvaluateReturnValueAsyncResult2))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

StackFrame
DkmStackWalkFrame

[In] Stack frame that provides the context of in which to evaluate the expression.

RawReturnValue
DkmRawReturnValueContainer

[In] Return value target and cached context.

CompletionRoutine
DkmCompletionRoutine<DkmEvaluateReturnValueAsyncResult2>

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