DkmBoundBreakpoint.SetCondition(DkmBreakpointCondition) Method

Definition

Initialize or update or clear the condition 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.

Location constraint: API must be called from an IDE component (component level > 100,000).

public:
 void SetCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointCondition ^ Condition);
public:
 void SetCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointCondition ^ Condition);
void SetCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointCondition const & Condition);
public void SetCondition (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointCondition Condition);
public void SetCondition (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointCondition? Condition);
member this.SetCondition : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointCondition -> unit
Public Sub SetCondition (Condition As DkmBreakpointCondition)

Parameters

Condition
DkmBreakpointCondition

[In,Optional] Condition to apply to this breakpoint. This value may be 'null' if the caller wishes to remove the condition.

Applies to