IDkmLanguageExpressionEvaluator.EvaluateExpression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Bind the input expression and evaluate it. Then format the resulting value for display in the debugger. This is used for data tips, the watch windows, the immediate window, etc.
public:
void EvaluateExpression(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, Microsoft::VisualStudio::Debugger::Evaluation::DkmLanguageExpression ^ expression, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ stackFrame, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluateExpressionAsyncResult> ^ completionRoutine);
public void EvaluateExpression (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguageExpression expression, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame stackFrame, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluateExpressionAsyncResult> completionRoutine);
abstract member EvaluateExpression : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguageExpression * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluateExpressionAsyncResult> -> unit
Public Sub EvaluateExpression (inspectionContext As DkmInspectionContext, workList As DkmWorkList, expression As DkmLanguageExpression, stackFrame As DkmStackWalkFrame, completionRoutine As DkmCompletionRoutine(Of DkmEvaluateExpressionAsyncResult))
Parameters
- inspectionContext
- DkmInspectionContext
[In] Options and target context to use while performing the inspection operation.
- workList
- DkmWorkList
WorkList which is currently being processed. This value can be used to check for cancelation or to append additional work. New work items will not begin executing until after this function returns.
- expression
- DkmLanguageExpression
[In] DkmLanguageExpression represents an expression to be parsed and evaluated by an expression evaluator.
- stackFrame
- DkmStackWalkFrame
[In] Stack frame to evaluate the expression in.
- completionRoutine
- DkmCompletionRoutine<DkmEvaluateExpressionAsyncResult>
Routine to fire when the request is complete. This will be implicitly fired if the implementation returns failure from this interface method. The implementation must fire this method in all other scenarios.