CacheItem Constructor (String, Object, String)

.NET Framework 4.6 and 4.5

Initializes a new CacheItem instance using the specified key, value, and region of the cache entry.

Namespace:  System.Runtime.Caching
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)

public CacheItem(
	string key,
	Object value,
	string regionName
)

Parameters

key
Type: System.String

A unique identifier for a CacheItem entry.

value
Type: System.Object

The data for a CacheItem entry.

regionName
Type: System.String

The name of a region in the cache that will contain the CacheItem entry.

.NET Framework

Supported in: 4.6, 4.5, 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft