Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpContextWrapper.AddOnRequestCompleted Method

.NET Framework 4.6 and 4.5

Raises a virtual event that occurs when the HTTP part of the request is ending.

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

public override ISubscriptionToken AddOnRequestCompleted(
	Action<HttpContextBase> callback
)

Parameters

callback
Type: System.Action<HttpContextBase>

The HTTP context object.

Return Value

Type: System.Web.ISubscriptionToken
The subscription token.

ExceptionCondition
ArgumentNullException

The callback parameter is null.

This event occurs before the AspNetWebSocket connection begins.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft