HttpContext.DisposeOnPipelineCompleted(IDisposable) HttpContext.DisposeOnPipelineCompleted(IDisposable) HttpContext.DisposeOnPipelineCompleted(IDisposable) HttpContext.DisposeOnPipelineCompleted(IDisposable) Method

정의

이 요청의 Dispose() 연결 부분이 완료될 때 호출할 개체의 AspNetWebSocket 메서드를 사용하도록 설정합니다.Enables an object's Dispose() method to be called when the AspNetWebSocket connection part of this request is completed.

public:
 System::Web::ISubscriptionToken ^ DisposeOnPipelineCompleted(IDisposable ^ target);
public System.Web.ISubscriptionToken DisposeOnPipelineCompleted (IDisposable target);
member this.DisposeOnPipelineCompleted : IDisposable -> System.Web.ISubscriptionToken
Public Function DisposeOnPipelineCompleted (target As IDisposable) As ISubscriptionToken

매개 변수

target
IDisposable IDisposable IDisposable IDisposable

개체의 Dispose() 메서드는 요청의 AspNetWebSocket 연결 부분이 완료되는 경우에 호출되어야 합니다.The object whose Dispose() method must be called when the AspNetWebSocket connection part of the request is completed.

반환

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

설명

Dispose 요청의 HTTP 부분이 후 대상 개체의 메서드가 호출 되 고 AspNetWebSocket 연결 종료 합니다.The Dispose method of the target object is called after both the HTTP part of the request and the AspNetWebSocket connection have ended. HttpContext 개체를 검사할 수 없습니다.The HttpContext object is not available for inspection.

적용 대상