Updates the key with a newValue value.
Namespace: Soss.Client.Concurrent
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax
Parameters
- key
- Type: TKey
The key whose value is replaced. - newValue
- Type: TValue
The value that replaces the value of the element with key.
Return Value
Type: Booleantrue if the value with key was replaced with newValue, otherwise it returns false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if key is a null reference. |
TimeoutException | Thrown when the maximum number of internal retries reached. |
See Also