LEADTOOLS Medical (Leadtools.Dicom.Web assembly)

GetCache Method

Show in webframe



The user requesting the cache object.
A System.TimeSpan value representing the cache timeout.
The maximum cache size in bytes.
Retrieves a Leadtools.Medical.Caching.Cache object.
Syntax
'Declaration
 
Protected Overridable Function GetCache( _
   ByVal userName As String, _
   ByVal cacheTimeout As TimeSpan, _
   ByVal cacheSize As Integer _
) As Leadtools.Medical.Caching.Cache
'Usage
 
Dim instance As MedicalWebViewerLoader
Dim userName As String
Dim cacheTimeout As TimeSpan
Dim cacheSize As Integer
Dim value As Leadtools.Medical.Caching.Cache
 
value = instance.GetCache(userName, cacheTimeout, cacheSize)
protected virtual Leadtools.Medical.Caching.Cache GetCache( 
   string userName,
   TimeSpan cacheTimeout,
   int cacheSize
)
protected:
virtual Leadtools.Medical.Caching.Cache^ GetCache( 
   String^ userName,
   TimeSpan cacheTimeout,
   int cacheSize
) 

Parameters

userName
The user requesting the cache object.
cacheTimeout
A System.TimeSpan value representing the cache timeout.
cacheSize
The maximum cache size in bytes.

Return Value

Returns a Leadtools.Medical.Caching.Cache object to store the information retrieved from the WCF service.
Remarks

Note to inheritors: Override this method to create your own type of cache storage mechanism, the current cache will store items on disk but you can use any other storage

Requirements

Target Platforms

See Also

Reference

MedicalWebViewerLoader Class
MedicalWebViewerLoader Members

 

 


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