Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes an exception or run-time error thrown by the program being debugged.
typedef struct tagEXCEPTION_INFO { 
   IDebugProgram2* pProgram;
   BSTR            bstrProgramName;
   BSTR            bstrExceptionName;
   DWORD           dwCode;
   EXCEPTION_STATE dwState;
   GUID            guidType;
} EXCEPTION_INFO;
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 IDebugEngine2::SetException and the IDebugEngine2::RemoveSetException methods. This structure is also passed to the IDebugExceptionEvent2::GetException method to be filled in.
Requirements
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll