HttpApplication.AddOnAuthorizeRequestAsync Method (BeginEventHandler, EndEventHandler, Object)

 

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

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

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

Parameters

beginHandler
Type: System.Web.BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the AuthorizeRequest.

endHandler
Type: System.Web.EndEventHandler

The EndEventHandler that ends asynchronous processing of the AuthorizeRequest.

state
Type: System.Object

The associated state to add to the asynchronous AcquireRequestState.

.NET Framework
Available since 2.0
Return to top
Show: