HttpContextBase.DisposeOnPipelineCompleted(IDisposable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา