Compartir a través de


HttpContextWrapper.AddOnRequestCompleted Método

Definición

Genera un evento virtual que se produce cuando finaliza la parte HTTP de la solicitud.

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

Parámetros

callback
Action<HttpContextBase>

Objeto de contexto HTTP.

Devoluciones

ISubscriptionToken

Token de suscripción.

Excepciones

El parámetro callback es null.

Comentarios

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

Se aplica a