IAsyncClientDelete(WritePolicy, CancellationToken, Key) Method

Asynchronously delete record for specified key. Create listener, call asynchronous delete and return task monitor.

The policy specifies the transaction timeout.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
Task<bool> Delete(
	WritePolicy policy,
	CancellationToken token,
	Key key
)

Parameters

policy  WritePolicy
delete configuration parameters, pass in null for defaults
token  CancellationToken
cancellation token
key  Key
unique record identifier

Return Value

TaskBoolean

Exceptions

AerospikeExceptionif queue is full

See Also