HttpContextBase.DisposeOnPipelineCompleted(IDisposable) Метод

Определение

При реализации в производном классе разрешает вызов метода Dispose() объекта при завершении части соединения AspNetWebSocket этого запроса.When implemented in a derived class, enables an object's Dispose() method to be called when the AspNetWebSocket connection part of this request is completed.

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 запроса.The object whose Dispose() method must be called when the AspNetWebSocket connection part of the request is completed.

Возвращаемое значение

ISubscriptionToken

Токен подписки.The subscription token.

Применяется к