OutputCacheProvider 类

定义

充当一个基类,该类包含用于实现输出缓存提供程序的抽象方法。Serves as a base class that contains abstract methods for implementing an output-cache provider.

public ref class OutputCacheProvider abstract : System::Configuration::Provider::ProviderBase
public abstract class OutputCacheProvider : System.Configuration.Provider.ProviderBase
type OutputCacheProvider = class
    inherit ProviderBase
Public MustInherit Class OutputCacheProvider
Inherits ProviderBase
继承
OutputCacheProvider
派生

注解

所有输出缓存提供程序都必须在OutputCacheProvider类中实现抽象方法。All output-cache providers must implement the abstract methods in the OutputCacheProvider class.

实施者说明

当从OutputCacheProvider继承时, 必须重写以下成员:When you inherit from OutputCacheProvider, you must override the following members:

构造函数

OutputCacheProvider()

初始化 OutputCacheProvider 类的新实例。Initializes a new instance of the OutputCacheProvider class.

属性

Description

获取一条简短的易懂描述,它适合在管理工具或其他用户界面 (UI) 中显示。Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).

(继承自 ProviderBase)
Name

获得一个友好名称,用于在配置过程中引用提供程序。Gets the friendly name used to refer to the provider during configuration.

(继承自 ProviderBase)

方法

Add(String, Object, DateTime)

将指定项插入输出缓存中。Inserts the specified entry into the output cache.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
Get(String)

返回对输出缓存中指定项的引用。Returns a reference to the specified entry in the output cache.

GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

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

初始化配置生成器。Initializes the configuration builder.

(继承自 ProviderBase)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
Remove(String)

从输出缓存中移除指定项。Removes the specified entry from the output cache.

Set(String, Object, DateTime)

将指定项插入输出缓存中,如果该项已缓存,则覆盖该项。Inserts the specified entry into the output cache, overwriting the entry if it is already cached.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于