Click or drag to resize

QdbBlobGetAndUpdate Method

Atomically gets the content and replaces it.

Namespace:  Quasardb
Assembly:  Quasardb (in Quasardb.dll) Version: 3.15.0.0 (3.15.0.0)
Syntax
public byte[] GetAndUpdate(
	byte[] content,
	DateTime? expiryTime = null
)

Parameters

content
Type: SystemByte
The new content of the blob.
expiryTime (Optional)
Type: SystemNullableDateTime
The new expiry time of the blob.

Return Value

Type: Byte
The previous content of the blob.
Exceptions
ExceptionCondition
QdbAliasNotFoundExceptionThe blob is not present in the database.
QdbIncompatibleTypeExceptionThe database entry is not a blob.
See Also