HttpContext.AddOnRequestCompleted(Action<HttpContext>) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises a virtual event that occurs when the HTTP part of the request is ending.
public:
 System::Web::ISubscriptionToken ^ AddOnRequestCompleted(Action<System::Web::HttpContext ^> ^ callback);public System.Web.ISubscriptionToken AddOnRequestCompleted(Action<System.Web.HttpContext> callback);member this.AddOnRequestCompleted : Action<System.Web.HttpContext> -> System.Web.ISubscriptionTokenPublic Function AddOnRequestCompleted (callback As Action(Of HttpContext)) As ISubscriptionTokenParameters
- callback
- Action<HttpContext>
The HTTP context object.
Returns
The subscription token.
Exceptions
The callback parameter is null.
Remarks
This event occurs before the AspNetWebSocket connection begins.