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)

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.String

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

  • 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.

See Also

Remove Overload
DataCache Class
Microsoft.ApplicationServer.Caching Namespace

Return to top