Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpApplication.AddOnPreRequestHandlerExecuteAsync Method (BeginEventHandler, EndEventHandler, Object)

 

Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public void AddOnPreRequestHandlerExecuteAsync(
	BeginEventHandler beginHandler,
	EndEventHandler endHandler,
	object state
)

Parameters

beginHandler
Type: System.Web.BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the PreRequestHandlerExecute.

endHandler
Type: System.Web.EndEventHandler

The EndEventHandler that ends asynchronous processing of the PreRequestHandlerExecute.

state
Type: System.Object

The associated state to add to the asynchronous PreRequestHandlerExecute collection.

.NET Framework
Available since 2.0
Return to top
Show: