DkmRuntimeBreakpoint.EvaluateConditionAndSelectThread 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.
Overloads
EvaluateConditionAndSelectThread(DkmThread) |
The base debug monitor asks the breakpoint condition processor to evaluate on all stopped threads, and selects the thread whose condition is true. Location constraint: API must be called from a Monitor component (component level < 100,000). This API was introduced in Visual Studio 11 Update 1 (DkmApiVersion.VS11FeaturePack1). |
EvaluateConditionAndSelectThread(DkmWorkList, DkmThread, DkmCompletionRoutine<DkmEvaluateConditionAndSelectThreadAsyncResult>) |
The base debug monitor asks the breakpoint condition processor to evaluate on all stopped threads, and selects the thread whose condition is true. 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 a Monitor component (component level < 100,000). This API was introduced in Visual Studio 11 Update 1 (DkmApiVersion.VS11FeaturePack1). |
EvaluateConditionAndSelectThread(DkmThread)
The base debug monitor asks the breakpoint condition processor to evaluate on all stopped threads, and selects the thread whose condition is true.
Location constraint: API must be called from a Monitor component (component level < 100,000).
This API was introduced in Visual Studio 11 Update 1 (DkmApiVersion.VS11FeaturePack1).
public:
Microsoft::VisualStudio::Debugger::DkmThread ^ EvaluateConditionAndSelectThread(Microsoft::VisualStudio::Debugger::DkmThread ^ FirstStoppedThread);
public Microsoft.VisualStudio.Debugger.DkmThread EvaluateConditionAndSelectThread (Microsoft.VisualStudio.Debugger.DkmThread FirstStoppedThread);
public Microsoft.VisualStudio.Debugger.DkmThread? EvaluateConditionAndSelectThread (Microsoft.VisualStudio.Debugger.DkmThread FirstStoppedThread);
member this.EvaluateConditionAndSelectThread : Microsoft.VisualStudio.Debugger.DkmThread -> Microsoft.VisualStudio.Debugger.DkmThread
Public Function EvaluateConditionAndSelectThread (FirstStoppedThread As DkmThread) As DkmThread
Parameters
- FirstStoppedThread
- DkmThread
[In] The first stopped thread.
Returns
[Out,Optional] The thread whose condition is true. The value is null in the case that no thread is found to have a true condition.
Applies to
EvaluateConditionAndSelectThread(DkmWorkList, DkmThread, DkmCompletionRoutine<DkmEvaluateConditionAndSelectThreadAsyncResult>)
The base debug monitor asks the breakpoint condition processor to evaluate on all stopped threads, and selects the thread whose condition is true.
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 a Monitor component (component level < 100,000).
This API was introduced in Visual Studio 11 Update 1 (DkmApiVersion.VS11FeaturePack1).
public:
void EvaluateConditionAndSelectThread(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmThread ^ FirstStoppedThread, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Breakpoints::DkmEvaluateConditionAndSelectThreadAsyncResult> ^ CompletionRoutine);
public void EvaluateConditionAndSelectThread (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmThread FirstStoppedThread, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmEvaluateConditionAndSelectThreadAsyncResult> CompletionRoutine);
member this.EvaluateConditionAndSelectThread : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmEvaluateConditionAndSelectThreadAsyncResult> -> unit
Public Sub EvaluateConditionAndSelectThread (WorkList As DkmWorkList, FirstStoppedThread As DkmThread, CompletionRoutine As DkmCompletionRoutine(Of DkmEvaluateConditionAndSelectThreadAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- FirstStoppedThread
- DkmThread
[In] The first stopped thread.
- CompletionRoutine
- DkmCompletionRoutine<DkmEvaluateConditionAndSelectThreadAsyncResult>
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.