HttpApplication.AddOnPreRequestHandlerExecuteAsync Method (BeginEventHandler, EndEventHandler)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 bh,
	EndEventHandler eh
)

Parameters

bh
Type: System.Web.BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the PreRequestHandlerExecute.

eh
Type: System.Web.EndEventHandler

The EndEventHandler that ends asynchronous processing of the PreRequestHandlerExecute.

.NET Framework
Available since 1.1
Return to top
Show: