HttpApplication.AddOnPostAcquireRequestStateAsync Method

Definition

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

Overloads

AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)

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

AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)

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

AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)

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

C#
public void AddOnPostAcquireRequestStateAsync(System.Web.BeginEventHandler bh, System.Web.EndEventHandler eh);

Parameters

bh
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the PostAcquireRequestState.

eh
EndEventHandler

The EndEventHandler that ends asynchronous processing of the PostAcquireRequestState.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)

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

C#
public void AddOnPostAcquireRequestStateAsync(System.Web.BeginEventHandler beginHandler, System.Web.EndEventHandler endHandler, object state);

Parameters

beginHandler
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the PostAcquireRequestState.

endHandler
EndEventHandler

The EndEventHandler that ends asynchronous processing of the PostAcquireRequestState.

state
Object

The associated state to add to the asynchronous PostAcquireRequestState.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1