DataCache.Remove Method (String, DataCacheLockHandle)
Removes an object from the cache with an associated lock handle.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
Syntax
public bool Remove(
string key,
DataCacheLockHandle lockHandle
)
public:
bool Remove(
String^ key,
DataCacheLockHandle^ lockHandle
)
member Remove :
key:string *
lockHandle:DataCacheLockHandle -> bool
Public Function Remove (
key As String,
lockHandle As DataCacheLockHandle
) As Boolean
Parameters
key
Type: System.StringThe unique value that is used to identify the object in the cache.
lockHandle
Type: Microsoft.ApplicationServer.Caching.DataCacheLockHandleThe object that was returned when the object is removed.
Return Value
Type: System.Boolean
True if an object from the cache was removed; otherwise, false.
See Also
Remove Overload
DataCache Class
Microsoft.ApplicationServer.Caching Namespace
Return to top