IBufferDistributedCache インターフェイス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
public interface class IBufferDistributedCache : Microsoft::Extensions::Caching::Distributed::IDistributedCache
public interface IBufferDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache
type IBufferDistributedCache = interface
interface IDistributedCache
Public Interface IBufferDistributedCache
Implements IDistributedCache
- 派生
- 実装
メソッド
Get(String) |
指定したキーを使用して値を取得します。 (継承元 IDistributedCache) |
GetAsync(String, CancellationToken) |
指定したキーを使用して値を取得します。 (継承元 IDistributedCache) |
Refresh(String) |
(存在する場合) スライド式有効期限のタイムアウトをリセットし、そのキーに基づいてキャッシュ内の値を更新します。 (継承元 IDistributedCache) |
RefreshAsync(String, CancellationToken) |
(存在する場合) スライド式有効期限のタイムアウトをリセットし、そのキーに基づいてキャッシュ内の値を更新します。 (継承元 IDistributedCache) |
Remove(String) |
指定したキーを使用して値を削除します。 (継承元 IDistributedCache) |
RemoveAsync(String, CancellationToken) |
指定したキーを使用して値を削除します。 (継承元 IDistributedCache) |
Set(String, Byte[], DistributedCacheEntryOptions) |
指定したキーを使用して値を設定します。 (継承元 IDistributedCache) |
Set(String, ReadOnlySequence<Byte>, DistributedCacheEntryOptions) | |
SetAsync(String, Byte[], DistributedCacheEntryOptions, CancellationToken) |
指定したキーを使用して値を設定します。 (継承元 IDistributedCache) |
SetAsync(String, ReadOnlySequence<Byte>, DistributedCacheEntryOptions, CancellationToken) | |
TryGet(String, IBufferWriter<Byte>) | |
TryGetAsync(String, IBufferWriter<Byte>, CancellationToken) |
拡張メソッド
GetString(IDistributedCache, String) |
指定したキーを使用して、指定したキャッシュから文字列を取得します。 |
GetStringAsync(IDistributedCache, String, CancellationToken) |
指定したキーを使用して、指定したキャッシュから文字列を非同期で取得します。 |
Set(IDistributedCache, String, Byte[]) |
指定したキーを使用して、指定したキャッシュにバイトのシーケンスを設定します。 |
SetAsync(IDistributedCache, String, Byte[], CancellationToken) |
指定したキーを使用して、指定したキャッシュにバイトのシーケンスを非同期で設定します。 |
SetString(IDistributedCache, String, String) |
指定したキーを使用して、指定したキャッシュに文字列を設定します。 |
SetString(IDistributedCache, String, String, DistributedCacheEntryOptions) |
指定したキーを使用して、指定したキャッシュに文字列を設定します。 |
SetStringAsync(IDistributedCache, String, String, DistributedCacheEntryOptions, CancellationToken) |
指定したキーを使用して、指定したキャッシュに文字列を非同期で設定します。 |
SetStringAsync(IDistributedCache, String, String, CancellationToken) |
指定したキーを使用して、指定したキャッシュに文字列を非同期で設定します。 |
適用対象
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示