
The COleDispatchException class handles exceptions specific to the COM IDispatch interface, which is a key part of Automation. Like the other exception classes derived from the CException base class, COleDispatchException can be used with the THROW, THROW_LAST, TRY, CATCH, AND_CATCH, and END_CATCH macros.
Call AfxThrowOleDispatchException to create and throw a COleDispatchException object.
| Header file: | Afxdisp.h |
| Platforms: | |
| Versions: | 2.0 and later |
| Complete documentation | Visual C++ documentation |
COleDispatchException Data Members, Exception Classes, COleDispatchDriver, COleException, AfxThrowOleDispatchException