OutputCacheProvider 類別

定義

以基底類別來提供服務,其中包含實作輸出快取提供者的抽象方法。

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 實作抽象方法。

給實施者的注意事項

當您繼承自 OutputCacheProvider 時,必須覆寫下列成員:

建構函式

OutputCacheProvider()

初始化 OutputCacheProvider 類別的新執行個體。

屬性

Description

取得簡短、易讀的描述,適合顯示在管理工具或其他使用者介面 (UI) 中。

(繼承來源 ProviderBase)
Name

取得用來在設定期間代表提供者的易記名稱。

(繼承來源 ProviderBase)

方法

Add(String, Object, DateTime)

將指定的項目插入輸出快取區中。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
Get(String)

傳回輸出快取區中指定之項目的參考。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
Initialize(String, NameValueCollection)

初始化設定產生器。

(繼承來源 ProviderBase)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Remove(String)

從輸出快取區移除指定的項目。

Set(String, Object, DateTime)

將指定的項目插入輸出快取區,如果項目已快取,則覆寫項目。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於