HttpContextBase.AddOnRequestCompleted(Action<HttpContextBase>) 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, raises a virtual event that occurs when the HTTP part of the request is ending.
public:
virtual System::Web::ISubscriptionToken ^ AddOnRequestCompleted(Action<System::Web::HttpContextBase ^> ^ callback);
public virtual System.Web.ISubscriptionToken AddOnRequestCompleted (Action<System.Web.HttpContextBase> callback);
abstract member AddOnRequestCompleted : Action<System.Web.HttpContextBase> -> System.Web.ISubscriptionToken
override this.AddOnRequestCompleted : Action<System.Web.HttpContextBase> -> System.Web.ISubscriptionToken
Public Overridable Function AddOnRequestCompleted (callback As Action(Of HttpContextBase)) As ISubscriptionToken
Parameters
- callback
- Action<HttpContextBase>
The HTTP context object.
Returns
The subscription token.
Remarks
This event occurs before the AspNetWebSocket connection begins.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.