IAsyncClientAdd Method (WritePolicy, CancellationToken, Key, Bin)

Aerospike
Asynchronously add integer bin values to existing record bin values. Create listener, call asynchronous add and return task monitor.

The policy specifies the transaction timeout, record expiration and how the transaction is handled when the record already exists. This call only works for integer values.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
Task Add(
	WritePolicy policy,
	CancellationToken token,
	Key key,
	params Bin[] bins
)

Parameters

policy
Type: Aerospike.ClientWritePolicy
write configuration parameters, pass in null for defaults
token
Type: System.ThreadingCancellationToken
cancellation token
key
Type: Aerospike.ClientKey
unique record identifier
bins
Type: Aerospike.ClientBin
array of bin name/value pairs

Return Value

Type: Task
Exceptions

ExceptionCondition
AerospikeExceptionif queue is full
See Also

Reference