Export (0) Print
Expand All

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

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