AsyncClientDelete(WritePolicy, CancellationToken, Key) Method

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

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public 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

Implements

IAsyncClientDelete(WritePolicy, CancellationToken, Key)

Exceptions

AerospikeExceptionif queue is full

See Also