Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HybridCacheEntryOptions Class

Definition

Namespace:
Microsoft.Extensions.Caching.Hybrid
Assembly:
Microsoft.Extensions.Caching.Abstractions.dll
Package:
Microsoft.Extensions.Caching.Abstractions v11.0.0-preview.5.26302.115
Source:
HybridCacheEntryOptions.cs
Source:
HybridCacheEntryOptions.cs
Source:
HybridCacheEntryOptions.cs

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.

Specifies additional options (for example, expiration) that apply to a HybridCache operation. When options can be specified at multiple levels (for example, globally and per-call), the values are composed; the most granular non-null value is used, with null values being inherited. If no value is specified at any level, the implementation can choose a reasonable default.

public ref class HybridCacheEntryOptions sealed
public sealed class HybridCacheEntryOptions
type HybridCacheEntryOptions = class
Public NotInheritable Class HybridCacheEntryOptions
Inheritance
HybridCacheEntryOptions

Constructors

Name Description
HybridCacheEntryOptions()

Properties

Name Description
Expiration

Gets or set the overall cache duration of this entry, passed to the backend distributed cache.

Flags

Gets or sets additional flags that apply to the requested operation.

LocalCacheExpiration

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to


Feedback

Was this page helpful?