HttpContext.AddOnRequestCompleted(Action<HttpContext>) 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:
System::Web::ISubscriptionToken ^ AddOnRequestCompleted(Action<System::Web::HttpContext ^> ^ callback);
public System.Web.ISubscriptionToken AddOnRequestCompleted (Action<System.Web.HttpContext> callback);
member this.AddOnRequestCompleted : Action<System.Web.HttpContext> -> System.Web.ISubscriptionToken
Public Function AddOnRequestCompleted (callback As Action(Of HttpContext)) As ISubscriptionToken
Parameters
- callback
- Action<HttpContext>
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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET