SALES: 1-800-867-1380

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)

public DataCacheLocalCacheInvalidationPolicy InvalidationPolicy { get; }

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft