ReplaceAsync Method
ReplaceAsync(TKey, TValue)
Transactional implementation of ReplaceAsync(TKey, TValue).
Declaration
Task<TValue> ReplaceAsync(TKey key, TValue newValue)
Parameters
| TKey | key | A key.  | 
    
| TValue | newValue | The new value.  | 
    
Returns
| Task<TValue> | 
Remarks
The updated entry wil be visible only in the current transaction context, until the transaction is committed.
ReplaceAsync(TKey, TValue, TValue)
Transactional implementation of ReplaceAsync(TKey, TValue, TValue).
Declaration
Task<bool> ReplaceAsync(TKey key, TValue oldValue, TValue newValue)
Parameters
| TKey | key | |
| TValue | oldValue | |
| TValue | newValue | 
Returns
| Task<bool> | 
Remarks
The updated entry wil be visible only in the current transaction context, until the transaction is committed.