編集

次の方法で共有


HttpContextWrapper.DisposeOnPipelineCompleted(IDisposable) Method

Definition

Enables an object's Dispose() method to be called when the AspNetWebSocket connection part of this request is completed.

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

Parameters

target
IDisposable

The object whose Dispose() method must be called when the AspNetWebSocket connection part of the request is completed.

Returns

The subscription token.

Applies to