편집

다음을 통해 공유


HttpContext.AddOnRequestCompleted(Action<HttpContext>) Method

Definition

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

Parameters

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.

Applies to