DataCache.Remove Method (String, String)

 

Removes an object from the cache 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,
	string region
)

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.

Return to top
Show: