←Select platform

GetCache Method

Summary

Retrieves a Leadtools.Medical.Caching.Cache object.

Syntax

C#
VB
C++
protected virtual Cache GetCache( 
   string userName, 
   TimeSpan cacheTimeout, 
   int cacheSize 
) 
  
Protected Overridable Function GetCache( _ 
   ByVal userName As String, _ 
   ByVal cacheTimeout As TimeSpan, _ 
   ByVal cacheSize As Integer _ 
) As Leadtools.Medical.Caching.Cache 
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Web Assembly