Sdílet prostřednictvím


AfxThrowUserException

Throws an exception to stop an end-user operation.

void AfxThrowUserException( );

Remarks

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

Requirements

Header: afxwin.h

See Also

Reference

CUserException Class

THROW (MFC)

AfxMessageBox

Concepts

MFC Macros and Globals

Other Resources

How Do I: Create my Own Custom Exception Classes?