Removes an object from the cache.
public CacheResponse<TKey, TValue> Remove(TKey key, CancellationToken cancellationToken = default(CancellationToken))
Identifier of the object in the cache.
A token used to propagate notification that this operation should be canceled.
A CacheResponse whose Result property indicates whether the object was removed or did not exist.
|Removed||The object was successfully removed from the ScaleOut service.|
|NotFound||The requested object was not found in the ScaleOut service.|
This operation does not use locking and will bypass locks on objects held by other clients/threads.