DataCacheLocalCacheProperties.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.

Return to top