共用方式為


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)

屬性值

適用於