DistributedCacheEntryOptions.AbsoluteExpiration 属性

定义

获取或设置缓存项的绝对到期日期。

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)

属性值

适用于