DkmStowedExceptionInformation Class

Definition

Provides information about a stowed exception. In modern apps, when an exception is thrown, it is caught by COM Interop and another exception is thrown by the framework. The original exception is captured as a stowed exception.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

public ref class DkmStowedExceptionInformation
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmStowedExceptionInformation
[Windows::Foundation::Metadata::WebHostHidden]
class DkmStowedExceptionInformation
[System.Runtime.InteropServices.Guid("8e224fd7-6b35-29e2-119b-020d4df4dcac")]
public class DkmStowedExceptionInformation
[<System.Runtime.InteropServices.Guid("8e224fd7-6b35-29e2-119b-020d4df4dcac")>]
type DkmStowedExceptionInformation = class
Public Class DkmStowedExceptionInformation
Inheritance
DkmStowedExceptionInformation
Attributes

Properties

ErrorText

[Optional] The error text from the Stowed Exception. If this is non null, it is a Text Stowed Exception (as opposed to binary), and the ExceptionAddress, StackTraceWordSize, StackTraceWords, and StackTrace fields will be invalid.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

ExceptionAddress

The address of the exception.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

NestedExceptionPart

[Optional] Stowed Exceptions can contain a nested exception. If this is non-null, the Stowed exception contains additional information in the NestedException.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

ResultCode

The HRESULT of the original thrown exception.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

StackTrace

A pointer to a memory block that contains the stack trace.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

StackTraceWords

The number of words in the stack trace that the StackTrace member points to. The number of words is equal to the number of elements in the array.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

StackTraceWordSize

Size, in bytes, of each word in the stack trace that the StackTrace member points to. This value is set to 4 for 32-bit platforms and 8 for 64-bit platforms.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

ThreadId

The ID of the thread that the exception was thrown on. This is just an ID and not a DkmThread because the thread may have exited before the dump is taken.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

Methods

Create(Int32, UInt32, String, UInt64, UInt32, UInt32, UInt64, DkmStowedExceptionInformation+NestedException)

Create a new DkmStowedExceptionInformation object instance.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

Applies to