RemoveOptimistic(TKey, VersionToken, CancellationToken)
Removes an object from the cache using optimistic concurrency.
public CacheResponse<TKey, TValue> RemoveOptimistic(TKey key, VersionToken version, CancellationToken cancellationToken = default(CancellationToken))
Identifier of the object in the cache.
The version of the object that the caller currently has and intends to remove.
A token used to propagate notification that this operation should be canceled.
A CacheResponse<TKey, TValue> containing the outcome of the operation.
|Removed||The object was successfully removed from the ScaleOut service.|
|NotFound||The requested object was not found in the ScaleOut service.|
The optimistic removal could not be performed because the supplied