DkmRuntimeBreakpoint.OnBreakpointConditionFailed Method

Definition

Overloads

OnBreakpointConditionFailed(DkmThread, String, DkmILFailureReason)

Raise a RuntimeBreakpointConditionFailed event. Components which implement the event sink interface will receive the event notification. This method will enqueue the event and control will immediately return to the caller.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

OnBreakpointConditionFailed(DkmILFailureReason)

Call back invoked from the breakpoint condition processor to the breakpoint manager when a breakpoint condition encounters a runtime error.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

OnBreakpointConditionFailed(String)

Call back invoked from the breakpoint condition processor to the breakpoint manager when a breakpoint condition encounters a runtime error.

Location constraint: API must be called from a Monitor component (component level < 100,000).

OnBreakpointConditionFailed(DkmThread, String, DkmILFailureReason)

Raise a RuntimeBreakpointConditionFailed event. Components which implement the event sink interface will receive the event notification. This method will enqueue the event and control will immediately return to the caller.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

public:
 void OnBreakpointConditionFailed(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, System::String ^ ErrorMessage, Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason ErrorCode);
public void OnBreakpointConditionFailed (Microsoft.VisualStudio.Debugger.DkmThread Thread, string ErrorMessage, Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason ErrorCode);
member this.OnBreakpointConditionFailed : Microsoft.VisualStudio.Debugger.DkmThread * string * Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason -> unit
Public Sub OnBreakpointConditionFailed (Thread As DkmThread, ErrorMessage As String, ErrorCode As DkmILFailureReason)

Parameters

Thread
DkmThread

[In] The thread of the stack frame of the target process.

ErrorMessage
String

[In,Optional] The message to display to the user.

ErrorCode
DkmILFailureReason

[In] Failure code explaining why the IL-based breakpoint query failed to execute.

Applies to

OnBreakpointConditionFailed(DkmILFailureReason)

Call back invoked from the breakpoint condition processor to the breakpoint manager when a breakpoint condition encounters a runtime error.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 void OnBreakpointConditionFailed(Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason ErrorCode);
public:
 void OnBreakpointConditionFailed(Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason ErrorCode);
void OnBreakpointConditionFailed(Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason ErrorCode);
public void OnBreakpointConditionFailed (Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason ErrorCode);
member this.OnBreakpointConditionFailed : Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason -> unit
Public Sub OnBreakpointConditionFailed (ErrorCode As DkmILFailureReason)

Parameters

ErrorCode
DkmILFailureReason

[In] Failure code explaining why the IL-based breakpoint query failed to execute.

Applies to

OnBreakpointConditionFailed(String)

Call back invoked from the breakpoint condition processor to the breakpoint manager when a breakpoint condition encounters a runtime error.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 void OnBreakpointConditionFailed(System::String ^ ErrorMessage);
public:
 void OnBreakpointConditionFailed(Platform::String ^ ErrorMessage);
void OnBreakpointConditionFailed(std::wstring const & ErrorMessage);
public void OnBreakpointConditionFailed (string ErrorMessage);
member this.OnBreakpointConditionFailed : string -> unit
Public Sub OnBreakpointConditionFailed (ErrorMessage As String)

Parameters

ErrorMessage
String

[In] The message to display to the user.

Applies to