Construct a new CacheableAttribute

Namespace: DotNetNuke.ComponentModel.DataAnnotations
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public CacheableAttribute(
	string cacheKey,
	CacheItemPriority priority,
	int timeOut
)
Visual Basic
Public Sub New ( 
	cacheKey As String,
	priority As CacheItemPriority,
	timeOut As Integer
)

Parameters

cacheKey
Type: System..::..String
The cacheKey to use
priority
Type: System.Web.Caching..::..CacheItemPriority
The priority of the cached item
timeOut
Type: System..::..Int32
The timeout multiplier used to cache the item

See Also