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 override ISubscriptionToken AddOnSendingHeaders( Action<HttpContextBase> callback )
Parameters
- callback
-
Type:
System.Action<HttpContextBase>
The callback method.
Return Value
Type: System.Web.ISubscriptionTokenAn ISubscriptionToken object that represents the subscription to the OnSendingHeaders pseudo event.
.NET Framework
Available since 4.5.2
Available since 4.5.2
Show: