Sdílet prostřednictvím


DkmExceptionTrigger Class

Definition

Describes an exception or collection of exceptions which a component wants to break on. When a higher level components wants to be notified about certain exceptions, it should create one or more exception triggers, and then enable these triggers (DkmProcess.EnableExceptionTriggers). After this, when the exception occurs, a ExceptionTriggerHit exception will be fired whenever this trigger is met.

Derived classes: DkmExceptionCategoryTrigger, DkmExceptionCodeTrigger, DkmExceptionGlobalTrigger, DkmExceptionNameTrigger

public ref class DkmExceptionTrigger abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmExceptionTrigger abstract
[Windows::Foundation::Metadata::WebHostHidden]
class DkmExceptionTrigger abstract
[System.Runtime.InteropServices.Guid("736be8c2-b44a-3d59-24b1-e132fbe225fc")]
public abstract class DkmExceptionTrigger
[<System.Runtime.InteropServices.Guid("736be8c2-b44a-3d59-24b1-e132fbe225fc")>]
type DkmExceptionTrigger = class
Public MustInherit Class DkmExceptionTrigger
Inheritance
DkmExceptionTrigger
Derived
Attributes

Properties

ExceptionConditionInfo

[Optional] Exception condition information.

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

ProcessingStage

The debugger receives notifications from the target process at various stages within exception processing (ex: exception thrown, exception unhandled). This enumeration is a bit mask of which of these stages the trigger should fire for.

TagValue

DkmExceptionTrigger is an abstract base class. This enum indicates which derived class this object is an instance of.

Thread

[Optional] Thread on which this trigger applies. If null, the trigger will be examined for all threads.

Applies to