Class CacheItemArgs
The CacheItemArgs class provides an EventArgs implementation for the CacheItemExpiredCallback delegate.
Inheritance
Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public class CacheItemArgs : object
Constructors
| Improve this Doc View SourceCacheItemArgs(String, CacheItemPriority)
Initializes a new instance of the CacheItemArgs class. Constructs a new CacheItemArgs Object.
Declaration
public CacheItemArgs(string key, CacheItemPriority priority)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
CacheItemPriority | priority |
CacheItemArgs(String, Int32, CacheItemPriority, Object[])
Initializes a new instance of the CacheItemArgs class. Constructs a new CacheItemArgs Object.
Declaration
public CacheItemArgs(string key, int timeout, CacheItemPriority priority, params object[] parameters)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Int32 | timeout | |
CacheItemPriority | priority | |
System.Object[] | parameters |
CacheItemArgs(String, Int32, CacheItemPriority)
Initializes a new instance of the CacheItemArgs class. Constructs a new CacheItemArgs Object.
Declaration
public CacheItemArgs(string key, int timeout, CacheItemPriority priority)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Int32 | timeout | |
CacheItemPriority | priority |
CacheItemArgs(String, Int32)
Initializes a new instance of the CacheItemArgs class. Constructs a new CacheItemArgs Object.
Declaration
public CacheItemArgs(string key, int timeout)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Int32 | timeout |
CacheItemArgs(String)
Initializes a new instance of the CacheItemArgs class. Constructs a new CacheItemArgs Object.
Declaration
public CacheItemArgs(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Properties
| Improve this Doc View SourceCacheCallback
Gets or sets the Cache Item's CacheItemRemovedCallback delegate.
Declaration
public CacheItemRemovedCallback CacheCallback { get; set; }
Property Value
Type | Description |
---|---|
CacheItemRemovedCallback |
CacheDependency
Gets or sets the Cache Item's CacheDependency.
Declaration
public DNNCacheDependency CacheDependency { get; set; }
Property Value
Type | Description |
---|---|
DNNCacheDependency |
CacheKey
Gets or sets the Cache Item's Key.
Declaration
public string CacheKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CachePriority
Gets or sets the Cache Item's priority (defaults to Default).
Declaration
public CacheItemPriority CachePriority { get; set; }
Property Value
Type | Description |
---|---|
CacheItemPriority |
Remarks
Note: DotNetNuke currently doesn't support the ASP.NET Cache's ItemPriority, but this is included for possible future use.
CacheTimeOut
Gets or sets the Cache Item's Timeout.
Declaration
public int CacheTimeOut { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ParamList
Gets the Cache Item's Parameter List.
Declaration
public ArrayList ParamList { get; }
Property Value
Type | Description |
---|---|
ArrayList |
Params
Gets the Cache Item's Parameter Array.
Declaration
public object[] Params { get; }
Property Value
Type | Description |
---|---|
System.Object[] |
ProcedureName
The CacheItemArgs class provides an EventArgs implementation for the CacheItemExpiredCallback delegate.
Declaration
public string ProcedureName { get; set; }
Property Value
Type | Description |
---|---|
System.String |