NET Caching Library Help
Save<T> Method (FileCacheProvider)




KellermanSoftware.NetCachingLibrary.CacheProviders Namespace > FileCacheProvider Class : Save<T> Method
Internal save used by Async Processor
Syntax
'Declaration
 
Public Sub Save(Of T)( _
   ByVal key As System.String, _
   ByVal value As T, _
   ByVal policy As System.Runtime.Caching.CacheItemPolicy, _
   Optional ByVal regionName As System.String _
) 
'Usage
 
Dim instance As FileCacheProvider
Dim key As System.String
Dim value As T
Dim policy As System.Runtime.Caching.CacheItemPolicy
Dim regionName As System.String
 
instance.Save(Of T)(key, value, policy, regionName)
public void Save<T>( 
   System.string key,
   T value,
   System.Runtime.Caching.CacheItemPolicy policy,
   System.string regionName
)
public: void Save<T>( 
   System.string* key,
   T* value,
   System.Runtime.Caching.CacheItemPolicy* policy,
   System.string* regionName
) 
public:
void Savegeneric<typename T>
( 
   System.String^ key,
   T^ value,
   System.Runtime.Caching.CacheItemPolicy^ policy,
   System.String^ regionName
) 

Parameters

key
value
policy
regionName

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FileCacheProvider Class
FileCacheProvider Members