Error processing SSI file
LEADTOOLS Caching (Leadtools.Caching assembly)

Show in webframe

CheckPolicy Method






Unique item identifier. If this value is null then all the items that belong to regionName will be checked.
Optional region (sub-directory) name. If this value is null then all the items in the cache will be checked.
Checks the policy of an existing cache item or items in a region and purge it if it has expired.
Syntax
public virtual bool CheckPolicy( 
   string keyName,
   string regionName
)
'Declaration
 
Public Overridable Function CheckPolicy( _
   ByVal keyName As String, _
   ByVal regionName As String _
) As Boolean
'Usage
 
Dim instance As FileCache
Dim keyName As String
Dim regionName As String
Dim value As Boolean
 
value = instance.CheckPolicy(keyName, regionName)
public boolean checkPolicy(String keyName, String regionName)
            
public:
virtual bool CheckPolicy( 
   String^ keyName,
   String^ regionName
) 

Parameters

keyName
Unique item identifier. If this value is null then all the items that belong to regionName will be checked.
regionName
Optional region (sub-directory) name. If this value is null then all the items in the cache will be checked.

Return Value

true if the item has not yet expired, false otherwise.
Remarks

This method checks the policy of the item if found. It its absolute or sliding expiration date is met, then it will be purged from the cache.

Requirements

Target Platforms

See Also

Reference

FileCache Class
FileCache Members

Error processing SSI file
Leadtools.Caching requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features