Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
COleException Class
Collapse the table of content
Expand the table of content

COleException Class

Represents an exception condition related to an OLE operation.

class COleException : public CException

The COleException class includes a public data member that holds the status code indicating the reason for the exception.

In general, you should not create a COleException object directly; instead, you should call AfxThrowOleException.

For more information on exceptions, see the articles Exception Handling (MFC) and Exceptions: OLE Exceptions.

Header: afxdisp.h

Community Additions

© 2015 Microsoft