HttpContext.AddOnRequestCompleted Method (Action(Of HttpContext))
.NET Framework (current version)
Raises a virtual event that occurs when the HTTP part of the request is ending.
Assembly: System.Web (in System.Web.dll)
Public Function AddOnRequestCompleted ( callback As Action(Of HttpContext) ) As ISubscriptionToken
Parameters
- callback
-
Type:
System.Action(Of HttpContext)
The HTTP context object.
| Exception | Condition |
|---|---|
| ArgumentNullException | The callback parameter is null. |
This event occurs before the AspNetWebSocket connection begins.
.NET Framework
Available since 4.5
Available since 4.5
Show: