puts an object into the cache after building the key by calling the base method Put

Namespace: NHINDirect.Caching
Assembly: nhinCommon (in nhinCommon.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void Put(
	DnsResponse dr,
	TimeSpan ttl
)
Visual Basic
Public Sub Put ( _
	dr As DnsResponse, _
	ttl As TimeSpan _
)
Visual C++
public:
void Put(
	DnsResponse^ dr, 
	TimeSpan ttl
)

Parameters

dr
Type: DnsResponse
DnsResponse instace to be stored in the cache; DnsQuestion from this instance is used for the key
ttl
Type: System..::..TimeSpan
timespan specifying the ttl for the DnsResponse object that is to be stored in the cache

See Also