OutputCacheProviderAsync 类

定义

提供异步 OutputCacheProvider 类。

public ref class OutputCacheProviderAsync abstract : System::Web::Caching::OutputCacheProvider
public abstract class OutputCacheProviderAsync : System.Web.Caching.OutputCacheProvider
type OutputCacheProviderAsync = class
    inherit OutputCacheProvider
Public MustInherit Class OutputCacheProviderAsync
Inherits OutputCacheProvider
继承
OutputCacheProviderAsync

构造函数

名称 说明
OutputCacheProviderAsync()

初始化 OutputCacheProviderAsync 类的新实例。

属性

名称 说明
Description

获取适合在管理工具或其他用户界面(UI)中显示的简短友好说明。

(继承自 ProviderBase)
Name

获取用于在配置期间引用提供程序的友好名称。

(继承自 ProviderBase)

方法

名称 说明
Add(String, Object, DateTime)

将指定的条目插入到输出缓存中。

(继承自 OutputCacheProvider)
AddAsync(String, Object, DateTime)

将指定的条目异步插入到输出缓存中。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
Get(String)

返回对输出缓存中指定条目的引用。

(继承自 OutputCacheProvider)
GetAsync(String)

异步返回对输出缓存中指定条目的引用。

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
Initialize(String, NameValueCollection)

初始化配置生成器。

(继承自 ProviderBase)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
Remove(String)

从输出缓存中删除指定的条目。

(继承自 OutputCacheProvider)
RemoveAsync(String)

异步删除输出缓存中的指定条目。

Set(String, Object, DateTime)

将指定的条目插入到输出缓存中,如果已缓存,则覆盖该条目。

(继承自 OutputCacheProvider)
SetAsync(String, Object, DateTime)

将指定的条目异步插入到输出缓存中,如果已缓存,则覆盖该条目。

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于