SALES: 1-800-867-1380
This topic has not yet been rated - Rate this topic

InvalidationPolicy Property

Gets the invalidation policy for items in the local cache.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
'Declaration
Public ReadOnly Property InvalidationPolicy As DataCacheLocalCacheInvalidationPolicy
	Get
'Usage
Dim instance As DataCacheLocalCacheProperties
Dim value As DataCacheLocalCacheInvalidationPolicy

value = instance.InvalidationPolicy

The returned policy is one of two possible values: TimeoutBased or NotificationBased. Note that even if the policy is NotificationBased, the timeout still applies. In this case, notifications provide an additional mechanism to check for updates to locally cached items.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.