HttpContext.AddOnRequestCompleted(Action<HttpContext>) HttpContext.AddOnRequestCompleted(Action<HttpContext>) HttpContext.AddOnRequestCompleted(Action<HttpContext>) HttpContext.AddOnRequestCompleted(Action<HttpContext>) Method

Definición

Genera un evento virtual que se produce cuando finaliza la parte HTTP de la solicitud.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.ISubscriptionToken
Public Function AddOnRequestCompleted (callback As Action(Of HttpContext)) As ISubscriptionToken

Parámetros

callback
Action<HttpContext>

Objeto de contexto HTTP.The HTTP context object.

Devoluciones

Token de suscripción.The subscription token.

Excepciones

El parámetro callback es null.The callback parameter is null.

Comentarios

Este evento se produce antes AspNetWebSocket de que comience la conexión.This event occurs before the AspNetWebSocket connection begins.

Se aplica a