Table of Contents

Enum ObjectDisposition

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

An enumeration returned from an object expiration handler to indicate to the service whether the expiring object should be saved or removed.

public enum ObjectDisposition

Fields

Remove = 1

The expiring object should be removed from the cache.

Save = 0

The expiring object should not be removed from the cache.

See Also

SetExpirationHandlerAsync<TKey, TValue>(Cache<TKey, TValue>, Func<TKey, ExpirationType, Task<ObjectDisposition>>)