KVSKVSClientRead(AerospikeRequestPayload, Metadata, NullableDateTime, CancellationToken) Method

Read a single record

Definition

Namespace: Aerospike.Client.KVS
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.0
C#
public virtual AerospikeResponsePayload Read(
	AerospikeRequestPayload request,
	Metadata headers = null,
	DateTime? deadline = null,
	CancellationToken cancellationToken = default
)

Parameters

request  AerospikeRequestPayload
The request to send to the server.
headers  Metadata  (Optional)
The initial metadata to send with the call. This parameter is optional.
deadline  NullableDateTime  (Optional)
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken  CancellationToken  (Optional)
An optional token for canceling the call.

Return Value

AerospikeResponsePayload
The response received from the server.

See Also