This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
[]
public class SlidingTime
Visual Basic (Declaration) Copy imageCopy Code
<> _
Public Class SlidingTime

The type exposes the following members.

Public Constructors

  Name Description
Public method SlidingTime
Create an instance of this class with the timespan for expiration.

Public Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HasExpired
Specifies if item has expired or not.
Public method Initialize
Used to set the initial value of TimeLastUsed. This method is invoked during the reinstantiation of an instance from a persistent store.
Public method Notify
Notifies that the item was recently used.
Public method ToString (Inherited from Object.)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property ItemSlidingExpiration
Returns sliding time window that must be exceeded for expiration to occur
Public property TimeLastUsed
Returns time that this object was last touched

See Also

Advanced