Partager via


AfxThrowUserException

 

Throws an exception to stop an end-user operation.

Syntax

void AfxThrowUserException( );

Remarks

This function is normally called immediately after AfxMessageBox has reported an error to the user.

Requirements

Header: afxwin.h

See Also

MFC Macros and Globals
CUserException Class
THROW (MFC)
AfxMessageBox
How Do I: Create my Own Custom Exception Classes?