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

要替换的方法、用户控件或对象。

例外

适用于