Click or drag to resize
MemcacheDelete Method (String, DateTime)
Deletes an object from cache given cache key, a delete time, and an optional hashcode. The item is immediately made non retrievable.
Keep in mind: add(string, object) and replace(string, object) will fail when used with the same key will fail, until the server reaches the specified time. However, set(string, object) will succeed and the new value will not be deleted.

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public bool Delete(
	string key,
	DateTime expiry
)

Parameters

key
Type: SystemString
the key to be removed
expiry
Type: SystemDateTime
when to expire the record.

Return Value

Type: Boolean
true, if the data was deleted successfully
See Also