SALES: 1-800-867-1380

DataCacheLockHandle Class

 

Updated: June 30, 2012

Represents the structure used as a key to lock and unlock cached objects in a pessimistic concurrency scenario.

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

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheLockHandle

[<DataContractAttribute(Name = "DataCacheLockHandle", Namespace = "http://schemas.microsoft.com/velocity/namespace")>]
type DataCacheLockHandle = class end

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the specified object to string.(Overrides Object.ToString().)

In order for an object to be unlocked, the appropriate DataCacheLockHandle must be provided to the unlocking methods (for example, PutAndUnlock and Unlock). The DataCacheLockHandle is provided by the locking method, GetAndLock.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft