שתף באמצעות


DataCacheLocalCacheProperties.DefaultTimeout Property

Gets the default timeout for items in the local cache.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)

Usage

'Usage
Dim instance As DataCacheLocalCacheProperties
Dim value As TimeSpan

value = instance.DefaultTimeout

Syntax

'Declaration
Public ReadOnly Property DefaultTimeout As TimeSpan
public TimeSpan DefaultTimeout { get; }
public:
property TimeSpan DefaultTimeout {
    TimeSpan get ();
}
/** @property */
public TimeSpan get_DefaultTimeout ()
public function get DefaultTimeout () : TimeSpan

Property Value

Returns TimeSpan.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

See Also

Reference

DataCacheLocalCacheProperties Class
DataCacheLocalCacheProperties Members
Microsoft.ApplicationServer.Caching Namespace

Other Resources

Cache Clients and Local Cache
Enable Local Cache

  2011-08-26