CompareAndSetAsync Method
CompareAndSetAsync(Int64, Int64)
Compares the value for equality and, if equal, replaces the current value.
Declaration
Task<bool> CompareAndSetAsync(long comparand, long value)
Parameters
Int64 | comparand | The value that is compared to the current value. |
Int64 | value | The value that replaces the current value if the comparison results in equality. |
Returns
Task<Boolean> | The updated value. |