Share via


IHttpCacheSpecificData::SetFlushed Method

 

Sets a value indicating that the specific data is to be flushed from the cache.

Syntax

virtual VOID SetFlushed(  
   VOID  
) = 0;  

Parameters

This method takes no parameters.

Thread Safety

Classes that implement the IHttpCacheSpecificData interface are thread safe for the GetFlushed and SetFlushed methods.

Remarks

The behavior of the SetFlushed method is implementation specific. You should use the following information as a guideline, but it may not be correct in all scenarios:

  • Classes that implement the IHttpCacheSpecificData interface initialize a private Boolean flag to false as an instance variable during the construction of a new pointer. The classes then get and set this flag on subsequent calls to the GetFlushed and SetFlushed methods, respectively.

  • Classes that implement the IHttpFileInfo interface usually return false on GetFlushed and perform an empty operation on SetFlushed, because local files are considered to be always cached.

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016 Technical Preview
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- IIS Express 7.5, IIS Express 8.0, IIS Express 10.0
Header Httpserv.h

See Also

IHttpCacheSpecificData Interface