共用方式為


CInternetException::m_dwContext

The context value associated with the related Internet operation.

DWORD_PTR m_dwContext;

Remarks

The context identifier is originally specified in CInternetSession and passed by MFC to CInternetConnection- and CInternetFile-derived classes. You can override this default and assign any dwContext parameter a value of your choosing. dwContext is associated with any operation of the given object. dwContext identifies the operation's status information returned by CInternetSession::OnStatusCallback.

Requirements

Header: afxinet.h

See Also

Concepts

CInternetException Class

CInternetException Members

Hierarchy Chart

CException Class