Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpContext::AddOnRequestCompleted Method (Action<HttpContext^>^)

.NET Framework (current version)
 

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:
ISubscriptionToken^ AddOnRequestCompleted(
	Action<HttpContext^>^ callback
)

Parameters

callback
Type: System::Action<HttpContext^>^

The HTTP context object.

Return Value

Type: System.Web::ISubscriptionToken^

The subscription token.

Exception Condition
ArgumentNullException

The callback parameter is null.

This event occurs before the AspNetWebSocket connection begins.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft