Gets/Sets a value indicating whether the object when expired will cause a refetch of the object from the master datasource. (Resync Expired Items)

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public bool IsResyncExpiredItems { get; set; }
Visual Basic
Public Property IsResyncExpiredItems As Boolean
	Get
	Set
Visual C++
public:
property bool IsResyncExpiredItems {
	bool get ();
	void set (bool value);
}

Property Value

Type: Boolean
true if "Resync Expired Items" on this object has been set; otherwise, false. The default is false.

Remarks

Whenever an expired item is fectched from the cache it is read thru the datasource. If the item is not available in the datasource the item is removed from the cache and null value is returned.

Note: For "Resync Expired Items" to work you must a specify read through provider for the cache. For more information on read through providers see online documentation.

See Also