LEADTOOLS Medical (Leadtools.Medical.Caching assembly)

Cache Constructor(String,TimeSpan,Int64,IStorageProvider)

Show in webframe



A System.String which identifies the cache context, each user using the cache should have its own context.
A System.TimeSpan value which specify how long an item remains in the cache.
The cache maximum size in bytes.
An object which implements the Leadtools.Medical.Caching.Storage.IStorageProvider to store and retrieve cache items.
Creates a new instance of the Cache class.
Syntax
'Declaration
 
Public Function New( _
   ByVal context As String, _
   ByVal itemExpireDuration As TimeSpan, _
   ByVal bytesLimit As Long, _
   ByVal provider As IStorageProvider _
)
'Usage
 
Dim context As String
Dim itemExpireDuration As TimeSpan
Dim bytesLimit As Long
Dim provider As IStorageProvider
 
Dim instance As New Cache(context, itemExpireDuration, bytesLimit, provider)
public Cache( 
   string context,
   TimeSpan itemExpireDuration,
   long bytesLimit,
   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

See Also

Reference

Cache Class
Cache Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.