HttpApplication.OnExecuteRequestStep(Action<HttpContextBase,Action>) Method

Definition

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))

Parameters

callback
Action<HttpContextBase,Action>

The callback method.

Remarks

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).

Applies to