Defines whether the TryRemove(TKey, RemoveBehavior, TValue) method
should return deleted key's value. By default, deleted value is not returned to avoid additional roundtrip
to the ScaleOut StateServer service.
Namespace: Soss.Client.Concurrent
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
ReturnValue | 0 | With this option the TryRemove(TKey, RemoveBehavior, TValue) method will return a deleted value as the TryRemove(TKey, TValue) method always does. | |
DoNotReturnValue | 1 | Default setting when the TryRemove(TKey, RemoveBehavior, TValue) method does not return deleted value. This setting should be used to achieve best performance when client application does not need to know deleted key's value. |
See Also