ITransactionalMapTKey, TValueGetForUpdate Method Hazelcast .Net Client Class Library
Locks the key and then gets and returns the value to which the specified key is mapped.

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
Syntax

TValue GetForUpdate(
	Object key
)

Parameters

key
Type: SystemObject

Return Value

Type: TValue
Remarks

Locks the key and then gets and returns the value to which the specified key is mapped. Lock will be released at the end of the transaction (either commit or rollback).
See Also

Reference