CInternetFile::Abort

Closes the file associated with this object and makes the file unavailable for reading or writing.

virtual void Abort( );

Remarks

If you have not closed the file before destroying the object, the destructor closes it for you.

When handling exceptions, Abort differs from Close in two important ways. First, the Abort function does not throw an exception on failures because it ignores failures. Second, Abort does not ASSERT if the file has not been opened or was closed previously.

Requirements

Header: afxinet.h

See Also

Reference

CInternetFile Class

Hierarchy Chart

Other Resources

CInternetFile Members