Adds or replaces an object in the cache with a specified object timeout.
Namespace: Soss.Compat.WSAF
Assembly: soss_wsaf_compat (in soss_wsaf_compat.dll) Version: 1.1.0.100 (1.1.0.100)
Syntax
Parameters
- key
- Type: SystemString
The unique identifier used to access the object in the cache. - value
- Type: SystemObject
The object to add or replace in the cache. - timeout
- Type: SystemTimeSpan
The amount of time that the object should reside in the cache before expiration. The timeout parameter is ignored if object already exists.
Return Value
Type: DataCacheItemVersionThe DataCacheItemVersion object representing the version of the object after the Put operation completes.
See Also