DataCacheUnlock Method (String, DataCacheLockHandle, String)Windows Server AppFabric Caching Compatibility Library
Unlocks the object in the cache region.

Namespace: Soss.Compat.WSAF
Assembly: soss_wsaf_compat (in soss_wsaf_compat.dll) Version: 1.1.0.100 (1.1.0.100)
Syntax

public void Unlock(
	string key,
	DataCacheLockHandle lockHandle,
	string region
)

Parameters

key
Type: SystemString
The unique identifier used to access the object in the cache.
lockHandle
Type: Soss.Compat.WSAFDataCacheLockHandle
DataCacheLockHandle that was obtained when the object was originally locked.
region
Type: SystemString
The name of the region where the object is stored.
Remarks

A lock ticket in the form of a DataCacheLockHandle is required. The lock ticket should have been obtained when the object was originally locked in the cache.
See Also

Reference