HttpResponseWrapper::AddOnSendingHeaders Method (Action<HttpContextBase^>^)
.NET Framework (current version)
Registers a callback that the ASP.NET runtime will invoke immediately before response headers are sent for this request.
Assembly: System.Web (in System.Web.dll)
public: virtual ISubscriptionToken^ AddOnSendingHeaders( Action<HttpContextBase^>^ callback ) override
Parameters
- callback
-
Type:
System::Action<HttpContextBase^>^
The callback method.
Return Value
Type: System.Web::ISubscriptionToken^An ISubscriptionToken object that represents the subscription to the OnSendingHeaders pseudo event.
.NET Framework
Available since 4.5.2
Available since 4.5.2
Show: