Compartir a través de


HttpContextBase.AddOnRequestCompleted(Action<HttpContextBase>) Método

Definición

Cuando se implementa en una clase derivada, genera un evento virtual que se produce cuando está finalizando la parte HTTP de la solicitud.

public:
 virtual System::Web::ISubscriptionToken ^ AddOnRequestCompleted(Action<System::Web::HttpContextBase ^> ^ callback);
public virtual System.Web.ISubscriptionToken AddOnRequestCompleted (Action<System.Web.HttpContextBase> callback);
abstract member AddOnRequestCompleted : Action<System.Web.HttpContextBase> -> System.Web.ISubscriptionToken
override this.AddOnRequestCompleted : Action<System.Web.HttpContextBase> -> System.Web.ISubscriptionToken
Public Overridable Function AddOnRequestCompleted (callback As Action(Of HttpContextBase)) As ISubscriptionToken

Parámetros

callback
Action<HttpContextBase>

Objeto de contexto HTTP.

Devoluciones

ISubscriptionToken

Token de suscripción.

Comentarios

Este evento se produce antes de que AspNetWebSocket comience la conexión.

Se aplica a