IDkmExceptionDetailsProvider Interface

Definition

This interface allows debug monitors to provide additional information about exceptions in the form of exception details.

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

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

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

Methods

GetExceptionDetails(DkmExceptionInformation, DkmInspectionSession)

Get the exception details for this exception.

GetExceptionMessage(DkmExceptionDetails)

Gets the message associated with the exception. The message is not formatted.

GetExceptionObjectExpression(DkmExceptionDetails)

Gets the expression that represents the exception object. If no such object is available, this method returns null.

GetFormattedDescription(DkmExceptionDetails)

Gets a description for this message that can be formatted to contain bold/italic text. Text can be made bold by wrapping in "**" blocks or made italic by wrapping in "*" blocks. For example "Bold Text: Non-bold text - Italic".

GetHResult(DkmExceptionDetails)

Gets the HResult code of this exception. If no stack trace is available, this method returns null.

GetInnerException(DkmExceptionDetails)

Gets the inner exception if available. If there is no inner exception, this method returns null.

GetSource(DkmExceptionDetails)

Gets the source for this exception. If no source is available, this method returns null.

GetStackTrace(DkmExceptionDetails)

Gets the stack trace for this exception. If no stack trace is available, this method returns null.

GetTypeName(DkmExceptionDetails, Boolean)

Gets the type name of the exception.

Applies to