Note

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

Access to this page requires authorization. You can try .

ICacheEntry.AbsoluteExpiration Property

Definition

Namespace:
Microsoft.Extensions.Caching.Memory
Assembly:
Microsoft.Extensions.Caching.Abstractions.dll
Package:
Microsoft.Extensions.Caching.Abstractions v11.0.0-preview.5.26302.115
Source:
ICacheEntry.cs
Source:
ICacheEntry.cs
Source:
ICacheEntry.cs
Source:
ICacheEntry.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.

Gets or sets an absolute expiration date for the cache entry.

public:
 property Nullable<DateTimeOffset> AbsoluteExpiration { Nullable<DateTimeOffset> get(); void set(Nullable<DateTimeOffset> value); };
public DateTimeOffset? AbsoluteExpiration { get; set; }
member this.AbsoluteExpiration : Nullable<DateTimeOffset> with get, set
Public Property AbsoluteExpiration As Nullable(Of DateTimeOffset)

Property Value

Applies to


Feedback

Was this page helpful?