共用方式為


HttpResponseBase.WriteSubstitution(HttpResponseSubstitutionCallback) 方法

定義

將替代區塊插入至回應,以便為快取的輸出回應動態地產生區域。

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

要替代的方法、使用者控制項或物件。

例外狀況

適用於