Share via


IWMSCacheProxy Object (C#)

The IWMSCacheProxy object contains methods that administer a cache and specify cache policy. This object is implemented by a cache plug-in and called by the server.

Note

   This object is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.

The IWMSCacheProxy object exposes the following properties and methods.

Method

Description

AddCacheItem

Adds content to a cache.

CreateCacheItemCollection

Called by the server to create an IWMSCacheItemCollectionIWMSCacheItemCollection Object (C#) and retrieve a pointer to it.

FindCacheItem

Called by the server to retrieve an IWMSCacheItemDescriptorIWMSCacheItemDescriptor Object (C#) that contains information about a specific cache item.

OnCacheClientClose

Called by the server to indicate that a client has finished streaming content.

QueryCache

Called by the server to direct the cache plug-in to search the cache for specific content.

QueryCacheMissPolicy

Called by the server to direct the cache plug-in to specify its cache-miss policy.

QuerySpaceForCacheItem

Called by the server to retrieve a Boolean value indicating whether the cache has adequate storage for a specific content item.

RemoveAllCacheItems

Called by the server to remove all content from the cache.

RemoveCacheItem

Called by the server to remove a specific cache item.

See Also

Concepts

Custom Plug-in Objects (C#)