HttpContextBase.DisposeOnPipelineCompleted(IDisposable) 方法

定义

在派生类中实现时,使对象的 Dispose() 方法在此请求的 AspNetWebSocket 连接部分完成时能够被调用。

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

参数

target
IDisposable

在请求的 Dispose() 连接部分完成时必须调动用其 AspNetWebSocket 方法的对象。

返回

订阅标记。

适用于