Client.Cas Method

MySQL Connector/Net

ClientCas Method
Executes the Check-and-set Memcached operation.

Namespace: MySql.Data.MySqlClient.Memcached
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public abstract void Cas(
	string key,
	Object data,
	TimeSpan expiration,
	ulong casUnique
)
Public MustOverride Sub Cas ( 
	key As String,
	data As Object,
	expiration As TimeSpan,
	casUnique As ULong
)
public:
virtual void Cas(
	String^ key, 
	Object^ data, 
	TimeSpan expiration, 
	unsigned long long casUnique
) abstract
abstract Cas : 
        key : string * 
        data : Object * 
        expiration : TimeSpan * 
        casUnique : uint64 -> unit 

Parameters

key
Type: SystemString
The key for identifying the entry.
data
Type: SystemObject
The data to use in the CAS.
expiration
Type: SystemTimeSpan
The interval of timespan, use TimeSpan.Zero for no expiration.
casUnique
Type: SystemUInt64
The CAS unique value to use.
Exceptions
ExceptionCondition
MemcachedException
See Also