DefaultTimeToLive Property

The default expiration time if no expiration time is provided for new items in the cache.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Syntax

'Declaration

  Protected ReadOnly Property DefaultTimeToLive As TimeSpan
    Get
'Usage

  Dim value As TimeSpan

value = Me.DefaultTimeToLive
  protected TimeSpan DefaultTimeToLive { get; }
  protected:
property TimeSpan DefaultTimeToLive {
    TimeSpan get ();
}
  member DefaultTimeToLive : TimeSpan
  function get DefaultTimeToLive () : TimeSpan

Property Value

Type: System. . :: . .TimeSpan
Returns TimeSpan.

See Also

Reference

DataCache Class

Microsoft.ApplicationServer.Caching Namespace