DkmRuntimeBreakpoint.SetHitCountCondition 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
SetHitCountCondition(DkmBreakpointHitCountCondition, Int32) |
Initialize or update the hit count condition/value on a breakpoint. If the same breakpoint has both a language-level condition, and a hit count condition, the language-level condition is applied first. The condition is implicitly removed if the DkmRuntimeBreakpoint is closed. |
SetHitCountCondition(DkmWorkList, DkmBreakpointHitCountCondition, Int32, DkmCompletionRoutine<DkmSetRuntimeBreakpointHitCountConditionAsyncResult>) |
Initialize or update the hit count condition/value on a breakpoint. If the same breakpoint has both a language-level condition, and a hit count condition, the language-level condition is applied first. The condition is implicitly removed if the DkmRuntimeBreakpoint is closed. 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. |
SetHitCountCondition(DkmBreakpointHitCountCondition, Int32)
Initialize or update the hit count condition/value on a breakpoint. If the same breakpoint has both a language-level condition, and a hit count condition, the language-level condition is applied first. The condition is implicitly removed if the DkmRuntimeBreakpoint is closed.
public:
void SetHitCountCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointHitCountCondition ^ Condition, int HitCountValue);
public:
void SetHitCountCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointHitCountCondition ^ Condition, int HitCountValue);
void SetHitCountCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointHitCountCondition const & Condition, int HitCountValue);
public void SetHitCountCondition (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition Condition, int HitCountValue);
member this.SetHitCountCondition : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition * int -> unit
Public Sub SetHitCountCondition (Condition As DkmBreakpointHitCountCondition, HitCountValue As Integer)
Parameters
- Condition
- DkmBreakpointHitCountCondition
[In] Condition to apply to this breakpoint.
- HitCountValue
- Int32
[In] The initial value of the breakpoint's hit count. A value of -1/MAXDWORD indicates that the current hit count value should be preserved.
Applies to
SetHitCountCondition(DkmWorkList, DkmBreakpointHitCountCondition, Int32, DkmCompletionRoutine<DkmSetRuntimeBreakpointHitCountConditionAsyncResult>)
Initialize or update the hit count condition/value on a breakpoint. If the same breakpoint has both a language-level condition, and a hit count condition, the language-level condition is applied first. The condition is implicitly removed if the DkmRuntimeBreakpoint is closed.
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 SetHitCountCondition(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointHitCountCondition ^ Condition, int HitCountValue, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Breakpoints::DkmSetRuntimeBreakpointHitCountConditionAsyncResult> ^ CompletionRoutine);
public void SetHitCountCondition (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition Condition, int HitCountValue, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmSetRuntimeBreakpointHitCountConditionAsyncResult> CompletionRoutine);
member this.SetHitCountCondition : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition * int * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmSetRuntimeBreakpointHitCountConditionAsyncResult> -> unit
Public Sub SetHitCountCondition (WorkList As DkmWorkList, Condition As DkmBreakpointHitCountCondition, HitCountValue As Integer, CompletionRoutine As DkmCompletionRoutine(Of DkmSetRuntimeBreakpointHitCountConditionAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- Condition
- DkmBreakpointHitCountCondition
[In] Condition to apply to this breakpoint.
- HitCountValue
- Int32
[In] The initial value of the breakpoint's hit count. A value of -1/MAXDWORD indicates that the current hit count value should be preserved.
- CompletionRoutine
- DkmCompletionRoutine<DkmSetRuntimeBreakpointHitCountConditionAsyncResult>
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.