IDkmExceptionManager Interface

Definition

Interface implemented by the exception manager component to allow exception triggers to be enabled or disabled.

Implementations of this interface may restrict when they are called using a filter defined in their component configuration. The following properties may be used: BaseDebugMonitorId, EngineId, TransportKind.

public interface class IDkmExceptionManager
public interface class IDkmExceptionManager
__interface IDkmExceptionManager
public interface IDkmExceptionManager
type IDkmExceptionManager = interface
Public Interface IDkmExceptionManager

Methods

AddExceptionTrigger(DkmProcess, Guid, DkmExceptionTrigger)

Adds an exception trigger so that ExceptionTriggerHit events will be sent when the exception trigger has been met.

If there is already an exception triggered defined for this {SourceId, DkmExceptionTrigger} tuple then the existing trigger will be modified with the new settings. For example, if a component defines a trigger to stop when an access violation exception is thrown and later sets a trigger to fire when any Win32 exception goes unhandled, then the access violation trigger will be removed.

ClearExceptionTriggers(DkmProcess, Guid)

Removes all the exception triggers which have been set with a particular SourceId. After this method returns, the exception triggers will no longer raise ExceptionTriggerHit events. Exception triggers are automatically cleared when the DkmProcess object is closed.

Applies to