SALES: 1-800-867-1380

DataCacheLocalCacheProperties Constructor (Int64, TimeSpan, DataCacheLocalCacheInvalidationPolicy)

Creates a new instance of the DataCacheLocalCacheProperties class. This overloaded constructor accepts parameters that configure the properties of local cache.

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

public function DataCacheLocalCacheProperties(
	objectCount : long, 
	defaultTimeout : TimeSpan, 
	invalidationPolicy : DataCacheLocalCacheInvalidationPolicy
)

Parameters

objectCount
Type: System..::..Int64
The maximum number of objects in the local cache.
defaultTimeout
Type: System..::..TimeSpan
The time that objects reside in the local cache before invalidation.
invalidationPolicy
Type: Microsoft.ApplicationServer.Caching..::..DataCacheLocalCacheInvalidationPolicy
The invalidation policy for the local cache. This can be set to either NotificationBased or TimeoutBased.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft