共用方式為


ExceptionGroups Interface

Definition

Represents the top-level groups available in the first-chance exception dialog in the debugger.

public interface class ExceptionGroups : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("21BDC491-F828-4846-9FD8-75C9148AEA24")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface ExceptionGroups : System.Collections.IEnumerable
[System.Runtime.InteropServices.Guid("21BDC491-F828-4846-9FD8-75C9148AEA24")]
public interface ExceptionGroups : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("21BDC491-F828-4846-9FD8-75C9148AEA24")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type ExceptionGroups = interface
    interface IEnumerable
[<System.Runtime.InteropServices.Guid("21BDC491-F828-4846-9FD8-75C9148AEA24")>]
type ExceptionGroups = interface
    interface IEnumerable
Public Interface ExceptionGroups
Implements IEnumerable
Attributes
Implements

Remarks

By default, the exception types are organized into the following groups:

  • Visual C++ Exceptions — Exceptions thrown from native code.

  • Common Language Runtime (CLR) Exceptions — Exceptions thrown in managed code.

  • Managed Debugging Assistants — Errors reported to the debugger that indicate problems in the program being debugged, but are not actual exceptions.

  • Native Run-time checks — Errors reported by the CRT for common programming errors.

  • Win32 Exceptions — Operating system error codes such as Control + C and Access Violation.

Third party debugging engines can also add items to this list. This is a normal enumerable collection, indexable by either group name and by integer index.

Properties

Count

Gets a value indicating the number of exception groups in the collection.

DTE

Gets the top-level extensibility object.

Parent

Gets the immediate parent object of this collection, in this case the Debugger3 object.

Methods

GetEnumerator()

Gets an enumeration for items in a collection.

Item(Object)

Gets an indexed member of this collection.

ResetAll()

Resets the BreakWhenThrown and BreakWhenUserUnhandled properties to their original values for both user-defined and built-in types. User-defined exceptions are not removed.

Applies to