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 Sub New ( _
	objectCount As Long, _
	defaultTimeout As TimeSpan, _
	invalidationPolicy As DataCacheLocalCacheInvalidationPolicy _
Dim objectCount As Long
Dim defaultTimeout As TimeSpan
Dim invalidationPolicy As DataCacheLocalCacheInvalidationPolicy

Dim instance As New DataCacheLocalCacheProperties(objectCount, _
	defaultTimeout, invalidationPolicy)


Type: System..::..Int64
The maximum number of objects in the local cache.
Type: System..::..TimeSpan
The time that objects reside in the local cache before invalidation.
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

© 2015 Microsoft