DataCacheItemVersion.Equals Method (Object)


Used to determine whether another object is the same.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

public override bool Equals(
	object obj


Type: System.Object

Another object for comparison.

Return Value

Type: System.Boolean

A Booleanvalue: true, if the objects are the same; false, if they are different.

The DataCacheItemVersion is updated every time that the object is updated. Only the latest version of the object is stored on the cache cluster. Due to the distributed nature of the cluster, the cache client may not have the latest copy of the object. For this reason, the DataCacheItemVersion class is essential for concurrency operations.

Return to top