IDebugErrorEvent2

This interface specifies an error message to be reported to the user.

IDebugErrorEvent2 : IUnknown

Notes for Implementers

The debug engine (DE) implements this interface to report errors as human-readable messages. The IDebugEvent2 interface must be implemented on the same object as this interface. The SDM uses QueryInterface to access the IDebugEvent2 interface.

Notes for Callers

The DE creates and sends this event object to report an error. The event is sent by using the IDebugEventCallback2 callback function that is supplied by the SDM when it attached to the program being debugged.

Methods in Vtable order

This interface implements the following method:

Method

Description

GetErrorMessage

Returns an error as a human-readable string.

Remarks

If the debug engine encounters an error, it can use this interface to report the message through Visual Studio to the user.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugEvent2

IDebugEventCallback2