HttpResponseWrapper.WriteSubstitution Method (HttpResponseSubstitutionCallback)

 

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

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public override void WriteSubstitution(
	HttpResponseSubstitutionCallback callback
)

Parameters

callback
Type: System.Web.HttpResponseSubstitutionCallback

The method, user control, or object to substitute.

Exception Condition
ArgumentException

The target of the callback parameter is of type Control.

.NET Framework
Available since 3.5
Return to top
Show: