Freigeben über


IDkmGroupLanguageExpressionEvaluator.EvaluateExpressionOnThreads Method

Definition

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 EvaluateExpressionOnThreads(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, System::Collections::ObjectModel::ReadOnlyCollection<System::UInt64> ^ threads, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ stackFrame, Microsoft::VisualStudio::Debugger::Evaluation::DkmLanguageExpression ^ expression, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::Group::DkmEvaluateExpressionOnThreadsAsyncResult> ^ completionRoutine);
public void EvaluateExpressionOnThreads (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.DkmWorkList workList, System.Collections.ObjectModel.ReadOnlyCollection<ulong> threads, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame stackFrame, Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguageExpression expression, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmEvaluateExpressionOnThreadsAsyncResult> completionRoutine);
abstract member EvaluateExpressionOnThreads : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.DkmWorkList * System.Collections.ObjectModel.ReadOnlyCollection<uint64> * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguageExpression * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmEvaluateExpressionOnThreadsAsyncResult> -> unit
Public Sub EvaluateExpressionOnThreads (inspectionContext As DkmInspectionContext, workList As DkmWorkList, threads As ReadOnlyCollection(Of ULong), stackFrame As DkmStackWalkFrame, expression As DkmLanguageExpression, completionRoutine As DkmCompletionRoutine(Of DkmEvaluateExpressionOnThreadsAsyncResult))

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.

threads
ReadOnlyCollection<UInt64>

[In] The compute threads to use when executing the query.

stackFrame
DkmStackWalkFrame

[In] Stack frame to match on compute threads.

expression
DkmLanguageExpression

[In] Expression to evaluate.

completionRoutine
DkmCompletionRoutine<DkmEvaluateExpressionOnThreadsAsyncResult>

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.

Applies to