CInternetException Class

Represents an exception condition related to an Internet operation.

class CInternetException : public CException

Members

Public Constructors

Name

Description

CInternetException::CInternetException

Constructs a CInternetException object.

Public Data Members

Name

Description

CInternetException::m_dwContext

The context value associated with the operation that caused the exception.

CInternetException::m_dwError

The error that caused the exception.

Remarks

The CInternetException class includes two public data members: one holds the error code associated with the exception, and the other holds the context identifier of the Internet application associated with the error.

For more information about context identifiers for Internet applications, see the article Internet Programming with WinInet.

Inheritance Hierarchy

CObject

CException

CInternetException

Requirements

Header: afxinet.h

See Also

Reference

CException Class

Hierarchy Chart

CException Class