RemoveBehavior Enumeration

ScaleOut Software NamedCache API
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.1.0.0
Syntax

public enum RemoveBehavior
Members

  Member nameValueDescription
ReturnValue0 With this option the TryRemove(TKey, RemoveBehavior, TValue) method will return a deleted value as the TryRemove(TKey, TValue) method always does.
DoNotReturnValue1 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

Reference