HybridCacheEntryContext(HybridCacheEntryOptions) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the HybridCacheEntryContext class, seeding its values from the supplied options.
public:
HybridCacheEntryContext(Microsoft::Extensions::Caching::Hybrid::HybridCacheEntryOptions ^ options);
public HybridCacheEntryContext(Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions? options);
new Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryContext : Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions -> Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryContext
Public Sub New (options As HybridCacheEntryOptions)
Parameters
- options
- HybridCacheEntryOptions
The options to seed the context from, or null to start with unset values. This is
typically the effective options for the operation, so that the factory callback observes the current values.
Remarks
This is primarily intended for HybridCache implementations that need to construct a context to pass to a factory callback.