共用方式為


HybridCacheEntryFlags Enum

Definition

Additional flags that apply to a HybridCache operation.

This enumeration supports a bitwise combination of its member values.

public enum class HybridCacheEntryFlags
[System.Flags]
public enum HybridCacheEntryFlags
[<System.Flags>]
type HybridCacheEntryFlags = 
Public Enum HybridCacheEntryFlags
Inheritance
HybridCacheEntryFlags
Attributes

Fields

Name Value Description
None 0

No additional flags.

DisableLocalCacheRead 1

Disables reading from the local in-process cache.

DisableLocalCacheWrite 2

Disables writing to the local in-process cache.

DisableLocalCache 3

Disables both reading from and writing to the local in-process cache.

DisableDistributedCacheRead 4

Disables reading from the secondary distributed cache.

DisableDistributedCacheWrite 8

Disables writing to the secondary distributed cache.

DisableDistributedCache 12

Disables both reading from and writing to the secondary distributed cache.

DisableUnderlyingData 16

Only fetches the value from cache; does not attempt to access the underlying data store.

DisableCompression 32

Disables compression for this payload.

Applies to