IAsyncClientDelete Method (BatchPolicy, BatchDeletePolicy, CancellationToken, Key)

Aerospike
Asynchronously delete records for specified keys. Create listener, call asynchronous delete and return task monitor.

Requires server version 6.0+

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

C#
Task<BatchResults> Delete(
	BatchPolicy batchPolicy,
	BatchDeletePolicy deletePolicy,
	CancellationToken token,
	Key[] keys
)

Parameters

batchPolicy
Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults
deletePolicy
Type: Aerospike.ClientBatchDeletePolicy
delete configuration parameters, pass in null for defaults
token
Type: System.ThreadingCancellationToken
cancellation token
keys
Type: Aerospike.ClientKey
array of unique record identifiers

Return Value

Type: TaskBatchResults
Exceptions

ExceptionCondition
AerospikeExceptionif queue is full
See Also

Reference