Export (0) Print
Expand All

IHttpCachePolicy2 Interface

IIS 7.0

Provides CHttpModule derived classes access to the setting and getting policy for request caching.

class IHttpCachePolicy2

The following table lists the methods exposed by the IHttpCachePolicy2 class.

Name

Description

IHttpCachePolicy2::SetForceUpdate Method

Sets a value that indicates that the cache should be updated for a specific request or request variation.

IHttpCachePolicy2::IsForceUpdateSet Method

Gets a value that determines if the force update flag has been set.

This class contains no derived classes.

CHttpModule derived classes that register for request or response events receive an IHttpContext pointer as a parameter on the corresponding virtual method.

Type

Description

Client

  • IIS 7.0 on Windows Vista

  • IIS 7.5 on Windows 7

  • IIS Express 7.5 on Windows XP, Windows Vista, Windows 7

  • IIS 8.0 on Windows 8 Client

Server

  • IIS 7.0 on Windows Server 2008

  • IIS 7.5 on Windows Server 2008 R2

  • IIS Express 7.5 on Windows Server 2003, Windows Server 2008, Windows Server 2008 R2

  • IIS 8.0 on Windows Server 2012

Product

IIS 7.0, IIS 7.5, IIS Express 7.5, IIS 8.0

Header

Httpserv.h

Community Additions

ADD
Show:
© 2014 Microsoft