COleDispatchException

This 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.

At a Glance

Header file: Afxdisp.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleDispatchDriver, COleException, AfxThrowOleDispatchException, Exception Classes