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)

Syntax

public override bool Equals(
    object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
override Equals : 
        obj:Object -> bool
Public Overrides Function Equals (
    obj As Object
) As Boolean

Parameters

Return Value

Type: System.Boolean

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

Remarks

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.

See Also

DataCacheItemVersion Class
Microsoft.ApplicationServer.Caching Namespace

Return to top