HttpResponseWrapper.WriteSubstitution Method

Definition

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

C#
public override void WriteSubstitution(System.Web.HttpResponseSubstitutionCallback callback);

Parameters

callback
HttpResponseSubstitutionCallback

The method, user control, or object to substitute.

Exceptions

The target of the callback parameter is of type Control.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1