Edit

Share via


EXCEPTION_INFO

Describes an exception or run-time error thrown by the program being debugged.

Syntax

public struct EXCEPTION_INFO {
    public IDebugProgram2 pProgram;
    public string         bstrProgramName;
    public string         bstrExceptionName;
    public uint           dwCode;
    public uint           dwState;
    public Guid           guidType;
};

Members

pProgram
The IDebugProgram2 object that represents the program in which the exception occurred.

bstrProgramName
The name of the program in which the exception occurred.

bstrExceptionName
The name of the exception.

dwCode
The identification code for the exception or run-time error.

dwState
A value from the EXCEPTION_STATE enumeration that defines the state of the exception.

guidType
The GUID language identifier, either guidLang or guidEng.

Remarks

This structure is passed as a parameter to the SetException and the RemoveSetException methods. This structure is also passed to the GetException method to be filled in.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also