IOutputCacheBufferStore 接口

定义

表示使用 IBufferWriter<T> 作为目标的缓存响应的存储。

public interface IOutputCacheBufferStore : Microsoft.AspNetCore.OutputCaching.IOutputCacheStore
type IOutputCacheBufferStore = interface
    interface IOutputCacheStore
Public Interface IOutputCacheBufferStore
Implements IOutputCacheStore
实现

方法

EvictByTagAsync(String, CancellationToken)

逐出按标记缓存的响应。

(继承自 IOutputCacheStore)
GetAsync(String, CancellationToken)

获取给定键的缓存响应(如果存在)。 如果给定密钥不存在缓存响应,则返回 null

(继承自 IOutputCacheStore)
SetAsync(String, Byte[], String[], TimeSpan, CancellationToken)

将给定的响应存储在响应缓存中。

(继承自 IOutputCacheStore)
SetAsync(String, ReadOnlySequence<Byte>, ReadOnlyMemory<String>, TimeSpan, CancellationToken)

将给定的响应存储在响应缓存中。

TryGetAsync(String, PipeWriter, CancellationToken)

获取给定键的缓存响应(如果存在)。 如果给定密钥不存在缓存响应,则返回 null

适用于