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

정의

요청의 HTTP 부분이 종료될 때 발생하는 가상 이벤트를 발생시킵니다.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

매개 변수

callback
Action<HttpContext>

HTTP 컨텍스트 개체입니다.The HTTP context object.

반환

구독 토큰입니다.The subscription token.

예외

callback 매개 변수가 null인 경우The callback parameter is null.

설명

이 이벤트가 발생 하기 전에 AspNetWebSocket 연결을 시작 합니다.This event occurs before the AspNetWebSocket connection begins.

적용 대상