HttpContextWrapper.AddOnRequestCompleted 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.
Raises a virtual event that occurs when the HTTP part of the request is ending.
public:
override System::Web::ISubscriptionToken ^ AddOnRequestCompleted(Action<System::Web::HttpContextBase ^> ^ callback);
public override System.Web.ISubscriptionToken AddOnRequestCompleted (Action<System.Web.HttpContextBase> callback);
override this.AddOnRequestCompleted : Action<System.Web.HttpContextBase> -> System.Web.ISubscriptionToken
Public Overrides Function AddOnRequestCompleted (callback As Action(Of HttpContextBase)) As ISubscriptionToken
Parameters
- callback
- Action<HttpContextBase>
The HTTP context object.
Returns
The subscription token.
Exceptions
The callback
parameter is null
.
Remarks
This event occurs before the AspNetWebSocket connection begins.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.