Ends adding a new cache item and commit the changes.
public virtual void EndAddExternalResource(
bool commit,
string key,
object value,
CacheItemPolicy policy,
string regionName
)
Public Overridable Function EndAddExternalResource(ByVal commit As System.Boolean, ByVal key As System.String, ByVal value As System.Object, ByVal policy As CacheItemPolicy, ByVal regionName As System.String) As System.Void
public: virtual System.Void^ EndAddExternalResource(System.Boolean^ commit, System.String^ key,
System.Object^ __identifier(value), CacheItemPolicy^ policy, System.String^ regionName)
commit
true to commit this item to the cache; otherwise, false to discard it.
key
Unique item identifier.
value
Data for the cache item.
policy
Expiration policy to use with this item.
regionName
Optional region name.
Cache consumers should call this method only if DefaultCacheCapabilities.ExternalResources is supported by this cache (by checking the DefaultCacheCapabilities property.
LEADTOOLS Document classes use this method to quickly add items. It speeds up access and updating the data if the value contains large amount of data such as an image file.
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