DkmCompiledClrInspectionQuery.Execute 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.
Execute a compiled inspection query and returns the result as a list of formatted DkmEvaluationResults.
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.
This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).
public:
void Execute(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ InspectionContext, Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext ^ ILContext, System::String ^ ExpressionName, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmExecuteClrInspectionQueryAsyncResult> ^ CompletionRoutine);
public void Execute (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext, Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext ILContext, string ExpressionName, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmExecuteClrInspectionQueryAsyncResult> CompletionRoutine);
override this.Execute : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext * string * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmExecuteClrInspectionQueryAsyncResult> -> unit
Public Sub Execute (WorkList As DkmWorkList, InspectionContext As DkmInspectionContext, ILContext As DkmILContext, ExpressionName As String, CompletionRoutine As DkmCompletionRoutine(Of DkmExecuteClrInspectionQueryAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- InspectionContext
- DkmInspectionContext
[In] The inspection context for this query.
- ILContext
- DkmILContext
[In] The stack context to execute the query against.
- ExpressionName
- String
[In] The name of the expression used to create this inspection query.
- CompletionRoutine
- DkmCompletionRoutine<DkmExecuteClrInspectionQueryAsyncResult>
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.