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
衍生

備註

所有輸出快取提供者都必須在類別中執行抽象方法 OutputCacheProviderAll 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()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於