• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class CacheItemArgs

The CacheItemArgs class provides an EventArgs implementation for the CacheItemExpiredCallback delegate.

Inheritance
System.Object
CacheItemArgs
Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public class CacheItemArgs : object

Constructors

| Improve this Doc View Source

CacheItemArgs(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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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 Source

CacheCallback

Gets or sets the Cache Item's CacheItemRemovedCallback delegate.

Declaration
public CacheItemRemovedCallback CacheCallback { get; set; }
Property Value
Type Description
CacheItemRemovedCallback
| Improve this Doc View Source

CacheDependency

Gets or sets the Cache Item's CacheDependency.

Declaration
public DNNCacheDependency CacheDependency { get; set; }
Property Value
Type Description
DNNCacheDependency
| Improve this Doc View Source

CacheKey

Gets or sets the Cache Item's Key.

Declaration
public string CacheKey { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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.

| Improve this Doc View Source

CacheTimeOut

Gets or sets the Cache Item's Timeout.

Declaration
public int CacheTimeOut { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ParamList

Gets the Cache Item's Parameter List.

Declaration
public ArrayList ParamList { get; }
Property Value
Type Description
ArrayList
| Improve this Doc View Source

Params

Gets the Cache Item's Parameter Array.

Declaration
public object[] Params { get; }
Property Value
Type Description
System.Object[]
| Improve this Doc View Source

ProcedureName

The CacheItemArgs class provides an EventArgs implementation for the CacheItemExpiredCallback delegate.

Declaration
public string ProcedureName { get; set; }
Property Value
Type Description
System.String

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS