DataCache.Remove Method (String, DataCacheLockHandle, String)

 

Removes an object from the cache with an associated lock handle in a region. This overload is not supported in Windows Azure Shared Caching.

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

public bool Remove(
	string key,
	DataCacheLockHandle lockHandle,
	string region
)

Parameters

key
Type: System.String

The unique value that is used to identify the object in the region.

lockHandle
Type: Microsoft.ApplicationServer.Caching.DataCacheLockHandle

The object that was returned when the object was removed.

region
Type: System.String

The name of the region the object resides in.

Return Value

Type: System.Boolean

True if the object is removed; otherwise, false.

Return to top
Show: