다음을 통해 공유


AfxThrowArchiveException

Throws an archive exception.

void AfxThrowArchiveException(
   int cause,
   LPCTSTR lpszArchiveName 
); 

Parameters

  • cause
    Specifies an integer that indicates the reason for the exception. For a list of the possible values, see CArchiveException::m_cause.

  • lpszArchiveName
    Points to a string containing the name of the CArchive object that caused the exception (if available).

Requirements

Header: afx.h

See Also

Concepts

MFC Macros and Globals

CArchiveException Class

THROW (MFC)