共用方式為


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

當要求的 AspNetWebSocket 連接部分完成時,必須呼叫其 Dispose() 方法的物件。

傳回

訂閱語彙基元。

適用於