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:
virtual void WriteSubstitution(
	HttpResponseSubstitutionCallback^ callback
) override

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: