Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AddOnEndRequestAsync Method (BeginEventHandler, EndEventHandler, Object)

HttpApplication.AddOnEndRequestAsync Method (BeginEventHandler, EndEventHandler, Object)

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

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

public void AddOnEndRequestAsync(
	BeginEventHandler beginHandler,
	EndEventHandler endHandler,
	Object state
)

Parameters

beginHandler
Type: System.Web.BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the EndRequest.

endHandler
Type: System.Web.EndEventHandler

The EndEventHandler that ends asynchronous processing of the EndRequest.

state
Type: System.Object

The associated state to add to the asynchronous EndRequest.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft