←Select platform

Cache Constructor(String,TimeSpan,Int64,IStorageProvider)

Summary

Creates a new instance of the Cache class.

Syntax

C#
VB
C++
public Cache(  
   string context, 
   TimeSpan itemExpireDuration, 
   long bytesLimit, 
   Leadtools.Medical.Caching.Storage.IStorageProvider provider 
) 
Public Function New( _ 
   ByVal context As String, _ 
   ByVal itemExpireDuration As TimeSpan, _ 
   ByVal bytesLimit As Long, _ 
   ByVal provider As Leadtools.Medical.Caching.Storage.IStorageProvider _ 
) 
public: 
Cache(  
   String^ context, 
   TimeSpan itemExpireDuration, 
   int64 bytesLimit, 
   Leadtools.Medical.Caching.Storage.IStorageProvider^ provider 
) 

Parameters

context
A System.String which identifies the cache context, each user using the cache should have its own context.

itemExpireDuration
A System.TimeSpan value which specify how long an item remains in the cache.

bytesLimit
The cache maximum size in bytes.

provider
An object which implements the Leadtools.Medical.Caching.Storage.IStorageProvider to store and retrieve cache items.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Medical.Caching Assembly
Click or drag to resize