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