Construct a new CacheableAttribute
Namespace: DotNetNuke.ComponentModel.DataAnnotationsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public CacheableAttribute( string cacheKey, CacheItemPriority priority ) |
Visual Basic |
---|
Public Sub New ( cacheKey As String, priority As CacheItemPriority ) |
Parameters
- cacheKey
- Type: System..::..String
The cacheKey to use
- priority
- Type: System.Web.Caching..::..CacheItemPriority
The priority of the cached item