Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
This class defines an ATL exception.
class CAtlException
Members
Public Constructors
Name |
Description |
|---|---|
The constructor. |
Public Operators
Name |
Description |
|---|---|
Casts the current object to an HRESULT value. |
Public Data Members
Name |
Description |
|---|---|
The variable of type HRESULT created by the object and used to store the error condition. |
Remarks
A CAtlException object represents an exception condition related to an ATL operation. The CAtlException class includes a public data member that stores the status code indicating the reason for the exception and a cast operator that allows you to treat the exception as if it were an HRESULT.
In general, you will call AtlThrow rather than creating a CAtlException object directly.
Requirements
Header: atlexcept.h