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




KellermanSoftware.NetCachingLibrary.CacheProviders Namespace > BaseDatabaseCacheProvider Class : Save<T> Method
The key.
The value.
The policy.
Name of the region.
Insert or Add a cache item internally used by the AsyncProcessor
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 BaseDatabaseCacheProvider
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
The key.
value
The value.
policy
The policy.
regionName
Name of the region.

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

BaseDatabaseCacheProvider Class
BaseDatabaseCacheProvider Members