Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ExceptionSettings Interface

A collection of ExceptionSetting objects, each representing a set of exception settings for the debugger.

Namespace:  EnvDTE90
Assembly:  EnvDTE90 (in EnvDTE90.dll)
[GuidAttribute("0E1AB53B-4065-4884-A39F-02E16EB57F7D")]
public interface ExceptionSettings : IEnumerable

The ExceptionSettings type exposes the following members.

  NameDescription
Public propertyCountGets a value indicating the number of exception settings in the ExceptionSettings collection.
Public propertyDTEGets the top-level extensibility object.
Public propertyNameGets the name of the specified exception setting.
Public propertyParentGets the immediate parent object of this collection, in this case the Debugger3 object.
Public propertySupportsExceptionCodesGets whether this exception settings group supports exception codes.
Top
  NameDescription
Public methodGetEnumeratorGets an enumeration for items in a collection.
Public methodItemGets an indexed member of this collection.
Public methodItemFromCode
Public methodNewExceptionCreates a new ExceptionSetting object for this category.
Public methodRemoveDeletes the ExceptionSetting object specified by index from the ExceptionSettings collection.
Public methodRemoveByCodeDeletes the ExceptionSetting object specified by code from the ExceptionSettings collection.
Public methodSetBreakWhenThrownEnables or disables the BreakWhenThrown property for the specified ExceptionSetting. The property passed in by the ExceptionSetting object will now reflect this value.
Public methodSetBreakWhenUserUnhandledEnables or disables the BreakWhenUserUnhandled property for the specified ExceptionSetting. The property passed in by the ExceptionSetting object will now reflect this value.
Top

ExceptionSettings is an enumerable collection of ExceptionSetting objects. ExceptionSettings objects allow you to programmatically manipulate settings displayed in the Exceptions dialog box in the debugger. They also allow you to programmatically determine which exceptions the debugger breaks on when they are first thrown, or when they are not handled by the user.

The debugger engine can display debugging exceptions in a hierarchical tree view in the Visual Studio integrated development environment (IDE). ExceptionSettings can be used to flatten this tree into a single list of exceptions.

ExceptionSettings can be indexed by name, integer index, or — if the collection supports it — integer code. Some exception groups, such as Native Run-Time Checks and Win32 Exceptions, support integer codes that are unique in that group. The other index types do not support integer codes and all names must be unique.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.