OutputCacheProviderAsync 類別

定義

提供非同步的 OutputCacheProvider 類別。Provides an asynchronous OutputCacheProvider class.

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 類別的新執行個體。Initializes a new instance of the OutputCacheProviderAsync 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.

(繼承來源 OutputCacheProvider)
AddAsync(String, Object, DateTime)

以非同步方式將指定的項目插入至輸出快取。Asynchronously 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.

(繼承來源 OutputCacheProvider)
GetAsync(String)

以非同步方式傳回輸出快取中指定項目的參考。Asynchronously 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.

(繼承來源 OutputCacheProvider)
RemoveAsync(String)

以非同步方式從輸出快取移除指定的項目。Asynchronously 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.

(繼承來源 OutputCacheProvider)
SetAsync(String, Object, DateTime)

以非同步方式將指定項目插入輸出快取中,覆寫該項目 (如果已經快取)。Asynchronously 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)

適用於