HttpApplication.AddOnAcquireRequestStateAsync Method

Definition

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

Overloads

AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)

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

AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)

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

AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)

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

public:
 void AddOnAcquireRequestStateAsync(System::Web::BeginEventHandler ^ bh, System::Web::EndEventHandler ^ eh);
public void AddOnAcquireRequestStateAsync (System.Web.BeginEventHandler bh, System.Web.EndEventHandler eh);
member this.AddOnAcquireRequestStateAsync : System.Web.BeginEventHandler * System.Web.EndEventHandler -> unit
Public Sub AddOnAcquireRequestStateAsync (bh As BeginEventHandler, eh As EndEventHandler)

Parameters

bh
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the AcquireRequestState.

eh
EndEventHandler

The EndEventHandler that ends asynchronous processing of the AcquireRequestState.

Applies to

AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)

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

public:
 void AddOnAcquireRequestStateAsync(System::Web::BeginEventHandler ^ beginHandler, System::Web::EndEventHandler ^ endHandler, System::Object ^ state);
public void AddOnAcquireRequestStateAsync (System.Web.BeginEventHandler beginHandler, System.Web.EndEventHandler endHandler, object state);
member this.AddOnAcquireRequestStateAsync : System.Web.BeginEventHandler * System.Web.EndEventHandler * obj -> unit
Public Sub AddOnAcquireRequestStateAsync (beginHandler As BeginEventHandler, endHandler As EndEventHandler, state As Object)

Parameters

beginHandler
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the AcquireRequestState.

endHandler
EndEventHandler

The EndEventHandler that ends asynchronous processing of the AcquireRequestState.

state
Object

The associated state to add to the asynchronous AcquireRequestState.

Applies to