HybridCacheOptions.DefaultEntryOptions Property

Definition

Gets or sets the default global options to be applied to HybridCache operations.

public:
 property Microsoft::Extensions::Caching::Hybrid::HybridCacheEntryOptions ^ DefaultEntryOptions { Microsoft::Extensions::Caching::Hybrid::HybridCacheEntryOptions ^ get(); void set(Microsoft::Extensions::Caching::Hybrid::HybridCacheEntryOptions ^ value); };
public Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions? DefaultEntryOptions { get; set; }
member this.DefaultEntryOptions : Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions with get, set
Public Property DefaultEntryOptions As HybridCacheEntryOptions

Property Value

Remarks

If options are specified at the individual call level, the non-null values are merged (with the per-call options being used in preference to the global options). If no value is specified for a given option (globally or per-call), the implementation can choose a reasonable default.

Applies to