HttpApplication.AddOnEndRequestAsync Method

Definition

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

Overloads

AddOnEndRequestAsync(BeginEventHandler, EndEventHandler)

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

AddOnEndRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

AddOnEndRequestAsync(BeginEventHandler, EndEventHandler)

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

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

Parameters

bh
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the EndRequest.

eh
EndEventHandler

The EndEventHandler that ends asynchronous processing of the EndRequest.

AddOnEndRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

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

Parameters

beginHandler
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the EndRequest.

endHandler
EndEventHandler

The EndEventHandler that ends asynchronous processing of the EndRequest.

state
Object

The associated state to add to the asynchronous EndRequest.

Applies to