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

Définition

Déclenche un événement virtuel qui se produit lorsque le composant HTTP de la requête se termine.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

Paramètres

callback
Action<HttpContext>

Objet de contexte HTTP.The HTTP context object.

Retours

Jeton d'abonnement.The subscription token.

Exceptions

Le paramètre callback a la valeur null.The callback parameter is null.

Remarques

Cet événement se produit avant AspNetWebSocket le début de la connexion.This event occurs before the AspNetWebSocket connection begins.

S’applique à