HttpApplication.AddOnReleaseRequestStateAsync Method (BeginEventHandler, EndEventHandler, Object)

 

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

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

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

Parameters

beginHandler
Type: System.Web.BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the ReleaseRequestState.

endHandler
Type: System.Web.EndEventHandler

The EndEventHandler that ends asynchronous processing of the ReleaseRequestState.

state
Type: System.Object

The associated state to add to the asynchronous ReleaseRequestState.

.NET Framework
Available since 2.0
Return to top
Show: