Checks the policy of an existing cache item or items in a region and purge it if it has expired.
public virtual bool CheckPolicy(
string key,
string regionName
)
Public Overridable Function CheckPolicy(
ByVal key As String,
ByVal regionName As String
) As Boolean
public:
virtual bool CheckPolicy(
String^ key,
String^ regionName
)
public boolean checkPolicy(String key, String regionName)
key
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.
true if the item has not yet expired, false otherwise.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document