Freigeben über


DkmCompiledILInspectionQuery.ExecuteQueryOnThreads Method

Definition

Overloads

ExecuteQueryOnThreads(DkmILContext, ReadOnlyCollection<UInt64>, ReadOnlyCollection<DkmILParameterValueCollection>)

Executes a compiled inspection query and returns any results.

ExecuteQueryOnThreads(DkmWorkList, DkmILContext, ReadOnlyCollection<UInt64>, ReadOnlyCollection<DkmILParameterValueCollection>, DkmCompletionRoutine<DkmExecuteQueryOnThreadsAsyncResult>)

Executes a compiled inspection query and returns any results.

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.

ExecuteQueryOnThreads(DkmILContext, ReadOnlyCollection<UInt64>, ReadOnlyCollection<DkmILParameterValueCollection>)

Executes a compiled inspection query and returns any results.

public:
 Microsoft::VisualStudio::Debugger::Evaluation::Group::DkmContextGroupEvaluationILResult ^ ExecuteQueryOnThreads(Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext ^ ILContext, System::Collections::ObjectModel::ReadOnlyCollection<System::UInt64> ^ Threads, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::Group::DkmILParameterValueCollection ^> ^ Parameters);
public Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmContextGroupEvaluationILResult ExecuteQueryOnThreads (Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext ILContext, System.Collections.ObjectModel.ReadOnlyCollection<ulong> Threads, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmILParameterValueCollection> Parameters);
public Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmContextGroupEvaluationILResult ExecuteQueryOnThreads (Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext ILContext, System.Collections.ObjectModel.ReadOnlyCollection<ulong> Threads, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmILParameterValueCollection>? Parameters);
member this.ExecuteQueryOnThreads : Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext * System.Collections.ObjectModel.ReadOnlyCollection<uint64> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmILParameterValueCollection> -> Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmContextGroupEvaluationILResult
Public Function ExecuteQueryOnThreads (ILContext As DkmILContext, Threads As ReadOnlyCollection(Of ULong), Parameters As ReadOnlyCollection(Of DkmILParameterValueCollection)) As DkmContextGroupEvaluationILResult

Parameters

ILContext
DkmILContext

[In] The stack frame context we are evaluating on.

Threads
ReadOnlyCollection<UInt64>

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

Parameters
ReadOnlyCollection<DkmILParameterValueCollection>

[In,Optional] Parameters to pass to each thread. The collection should be empty if unused, or have exactly as many members as the Threads parameter.

Returns

[Out] Results of the evaluations.

Applies to

ExecuteQueryOnThreads(DkmWorkList, DkmILContext, ReadOnlyCollection<UInt64>, ReadOnlyCollection<DkmILParameterValueCollection>, DkmCompletionRoutine<DkmExecuteQueryOnThreadsAsyncResult>)

Executes a compiled inspection query and returns any results.

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.

public:
 void ExecuteQueryOnThreads(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext ^ ILContext, System::Collections::ObjectModel::ReadOnlyCollection<System::UInt64> ^ Threads, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::Group::DkmILParameterValueCollection ^> ^ Parameters, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::Group::DkmExecuteQueryOnThreadsAsyncResult> ^ CompletionRoutine);
public void ExecuteQueryOnThreads (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext ILContext, System.Collections.ObjectModel.ReadOnlyCollection<ulong> Threads, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmILParameterValueCollection> Parameters, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmExecuteQueryOnThreadsAsyncResult> CompletionRoutine);
public void ExecuteQueryOnThreads (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext ILContext, System.Collections.ObjectModel.ReadOnlyCollection<ulong> Threads, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmILParameterValueCollection>? Parameters, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmExecuteQueryOnThreadsAsyncResult> CompletionRoutine);
member this.ExecuteQueryOnThreads : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext * System.Collections.ObjectModel.ReadOnlyCollection<uint64> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmILParameterValueCollection> * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmExecuteQueryOnThreadsAsyncResult> -> unit
Public Sub ExecuteQueryOnThreads (WorkList As DkmWorkList, ILContext As DkmILContext, Threads As ReadOnlyCollection(Of ULong), Parameters As ReadOnlyCollection(Of DkmILParameterValueCollection), CompletionRoutine As DkmCompletionRoutine(Of DkmExecuteQueryOnThreadsAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

ILContext
DkmILContext

[In] The stack frame context we are evaluating on.

Threads
ReadOnlyCollection<UInt64>

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

Parameters
ReadOnlyCollection<DkmILParameterValueCollection>

[In,Optional] Parameters to pass to each thread. The collection should be empty if unused, or have exactly as many members as the Threads parameter.

CompletionRoutine
DkmCompletionRoutine<DkmExecuteQueryOnThreadsAsyncResult>

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