Freigeben über


ICorDebugManagedCallback::Exception Method

Notifies the debugger that an exception has been thrown from managed code.

HRESULT Exception (
    [in] ICorDebugAppDomain *pAppDomain,
    [in] ICorDebugThread    *pThread,
    [in] BOOL                unhandled
);

Parameters

  • pAppDomain
    [in] A pointer to an ICorDebugAppDomain Interface object that represents the application domain in which the exception was thrown.
  • pThread
    [in] A pointer to an ICorDebugThread Interface object that represents the thread in which the exception was thrown.
  • unhandled
    [in] If this value is false, the exception has not yet been processed by the application; otherwise, the exception is unhandled and will terminate the process.

Remarks

The specific exception can be retrieved from the thread object.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

ICorDebugManagedCallback Interface