IWMSCacheProxyCallback Interface

banner art

Previous Next

IWMSCacheProxyCallback Interface

The IWMSCacheProxyCallback interface contains methods that enable a cache plug-in to respond to calls that the server makes through the IWMSCacheProxy interface. This interface is implemented by the server and called by a cache plug-in.

  • Note   This interface is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008. Each method of this interface must be called only once, even if an error code is returned after the initial call.

In addition to the methods inherited from IUnknown, the IWMSCacheProxyCallback interface provides the following methods.

Method Description
OnAddCacheItem Called by the cache plug-in to respond when the server calls IWMSCacheProxy::AddCacheItem.
OnQueryCache Called by the cache plug-in to respond when the server calls IWMSCacheProxy::QueryCache.
OnQueryCacheMissPolicy Called by the cache plug-in to respond when the server calls IWMSCacheProxy::QueryCacheMissPolicy.
OnRemoveAllCacheItems Called by the cache plug-in to respond when the server calls IWMSCacheProxy::RemoveAllCacheItems.
OnRemoveCacheItem Called by the cache plug-in to respond when the server calls IWMSCacheProxy::RemoveCacheItem.

See Also

Previous Next