共用方式為


COleException::Process

Call the Process member function to translate a caught exception into an OLE status code.

static SCODE PASCAL Process( 
   const CException* pAnyException  
);

Parameters

  • pAnyException
    Pointer to a caught exception.

Return Value

An OLE status code.

Remarks

Note

This function is static.

For more information on SCODE, see Structure of COM Error Codes in the Windows SDK.

Example

See the example for COleDispatchDriver::CreateDispatch.

Requirements

Header: afxdisp.h

See Also

Reference

COleException Class

Hierarchy Chart

CException Class