HttpResponseWrapper.WriteSubstitution Method

Definition

Inserts substitution blocks into the response, which enables dynamic generation of regions for cached output responses.

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

Parameters

callback
HttpResponseSubstitutionCallback

The method, user control, or object to substitute.

Exceptions

The target of the callback parameter is of type Control.

Applies to