Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AspNetCache.DoInsert Method

Inserts an item into the cache.

[Visual Basic]
Protected Overrides Sub DoInsert( _
   ByVal key As Object, _
   ByVal value As Object, _
   ByVal timeToLive As TimeSpan _
)
[C#]
protected override void DoInsert(
   object key,
   object value,
   TimeSpan timeToLive
);

Parameters

key
Item key.
value
Item value.
timeToLive
Item's time-to-live (TTL).

Remarks

Items inserted using this method have default Priority and default SlidingExpiration

See Also

AspNetCache Class | Spring.Caching Namespace