DistributedCacheEntryExtensions クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
DistributedCacheEntryOptions操作の拡張メソッドを提供します。
public ref class DistributedCacheEntryExtensions abstract sealed
public static class DistributedCacheEntryExtensions
type DistributedCacheEntryExtensions = class
Public Module DistributedCacheEntryExtensions
- 継承
-
DistributedCacheEntryExtensions
メソッド
| 名前 | 説明 |
|---|---|
| SetAbsoluteExpiration(DistributedCacheEntryOptions, DateTimeOffset) |
キャッシュ エントリの絶対有効期限を設定します。 |
| SetAbsoluteExpiration(DistributedCacheEntryOptions, TimeSpan) |
現在を基準にして、絶対有効期限を設定します。 |
| SetSlidingExpiration(DistributedCacheEntryOptions, TimeSpan) |
キャッシュ エントリを削除するまでに非アクティブ (アクセスできないなど) できる時間を設定します。 これにより、絶対有効期限 (設定されている場合) を超えてエントリの有効期間が延長されることはありません。 |