IDkmExceptionFormatter Interface

Definition

IDkmExceptionFormatter is implemented by runtime debug monitors which fire exception events. Unlike IDkmExceptionController, there is generally a single implementation of IDkmExceptionFormatter for each exception category. For example, while multiple base debug monitor implementations are able to detect Win32 exceptions, there only needs to be one formatter implementation.

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, ExceptionCategory, RuntimeId.

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

Methods

GetAdditionalInformation(DkmExceptionInformation)

Provides additional information about an exception which will appear when Visual Studio stops on the exception. For CLR exceptions, this contains the 'Message' property from the System.Exception which was thrown.

GetDescription(DkmExceptionInformation)

Provides a string description for an exception. This is used when tracing the exception to the output window.

Applies to