Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
public bool Remove(
string key,
DataCacheLockHandle lockHandle,
string region
)
public:
bool Remove(
String^ key,
DataCacheLockHandle^ lockHandle,
String^ region
)
member Remove :
key:string *
lockHandle:DataCacheLockHandle *
region:string -> bool
Public Function Remove (
key As String,
lockHandle As DataCacheLockHandle,
region As String
) As Boolean
Parameters
key
Type: System.StringThe unique value that is used to identify the object in the region.
lockHandle
Type: Microsoft.ApplicationServer.Caching.DataCacheLockHandleThe object that was returned when the object was removed.
region
Type: System.StringThe name of the region the object resides in.
Return Value
Type: System.Boolean
True if the object is removed; otherwise, false.
See Also
Remove Overload
DataCache Class
Microsoft.ApplicationServer.Caching Namespace
Return to top