HttpApplication.AddOnPreRequestHandlerExecuteAsync 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.
Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request.
Overloads
AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler) |
Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request. |
AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object) |
Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request. |
AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)
Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request.
public:
void AddOnPreRequestHandlerExecuteAsync(System::Web::BeginEventHandler ^ bh, System::Web::EndEventHandler ^ eh);
public void AddOnPreRequestHandlerExecuteAsync (System.Web.BeginEventHandler bh, System.Web.EndEventHandler eh);
member this.AddOnPreRequestHandlerExecuteAsync : System.Web.BeginEventHandler * System.Web.EndEventHandler -> unit
Public Sub AddOnPreRequestHandlerExecuteAsync (bh As BeginEventHandler, eh As EndEventHandler)
Parameters
The BeginEventHandler that starts asynchronous processing of the PreRequestHandlerExecute.
The EndEventHandler that ends asynchronous processing of the PreRequestHandlerExecute.
Applies to
AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request.
public:
void AddOnPreRequestHandlerExecuteAsync(System::Web::BeginEventHandler ^ beginHandler, System::Web::EndEventHandler ^ endHandler, System::Object ^ state);
public void AddOnPreRequestHandlerExecuteAsync (System.Web.BeginEventHandler beginHandler, System.Web.EndEventHandler endHandler, object state);
member this.AddOnPreRequestHandlerExecuteAsync : System.Web.BeginEventHandler * System.Web.EndEventHandler * obj -> unit
Public Sub AddOnPreRequestHandlerExecuteAsync (beginHandler As BeginEventHandler, endHandler As EndEventHandler, state As Object)
Parameters
- beginHandler
- BeginEventHandler
The BeginEventHandler that starts asynchronous processing of the PreRequestHandlerExecute.
- endHandler
- EndEventHandler
The EndEventHandler that ends asynchronous processing of the PreRequestHandlerExecute.
- state
- Object
The associated state to add to the asynchronous PreRequestHandlerExecute collection.