HttpResponseBase.WriteSubstitution(HttpResponseSubstitutionCallback) 方法

定義

將替代區塊插入至回應,以便為快取的輸出回應動態地產生區域。Inserts substitution blocks into the response, which enables dynamic generation of regions for cached output responses.

public:
 virtual void WriteSubstitution(System::Web::HttpResponseSubstitutionCallback ^ callback);
public virtual void WriteSubstitution (System.Web.HttpResponseSubstitutionCallback callback);
abstract member WriteSubstitution : System.Web.HttpResponseSubstitutionCallback -> unit
override this.WriteSubstitution : System.Web.HttpResponseSubstitutionCallback -> unit
Public Overridable Sub WriteSubstitution (callback As HttpResponseSubstitutionCallback)

參數

callback
HttpResponseSubstitutionCallback

要替代的方法、使用者控制項或物件。The method, user control, or object to substitute.

例外狀況

永遠。Always.

適用於