HttpApplication.OnExecuteRequestStep(Action<HttpContextBase,Action>) 方法

定義

指定已執行要求執行步驟時要叫用的回呼。Specifies a callback to invoke when a request execution step is executed.

public:
 void OnExecuteRequestStep(Action<System::Web::HttpContextBase ^, Action ^> ^ callback);
public void OnExecuteRequestStep (Action<System.Web.HttpContextBase,Action> callback);
member this.OnExecuteRequestStep : Action<System.Web.HttpContextBase, Action> -> unit
Public Sub OnExecuteRequestStep (callback As Action(Of HttpContextBase, Action))

參數

callback
Action<HttpContextBase,Action>

回呼方法。The callback method.

備註

這個方法會提供 ASP.NET 管線的擴充性,讓開發人員可以輕鬆地在環境內容案例中執行功能,並建立負責 ASP.NET 執行流程的組建程式庫 (例如追蹤、分析、診斷和交易) 。This method provides extensibility to the ASP.NET pipeline to make it easy for developers to implement features in ambient context scenarios and build libraries that care about ASP.NET execution flow (for example, tracing, profiling, diagnostics, and transactions).

適用於