HttpApplication.AddOnBeginRequestAsync HttpApplication.AddOnBeginRequestAsync HttpApplication.AddOnBeginRequestAsync HttpApplication.AddOnBeginRequestAsync Method

Definition

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

Overloads

AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler)

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

AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

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

Parameters

beginHandler
BeginEventHandler BeginEventHandler BeginEventHandler BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the BeginRequest.

endHandler
EndEventHandler EndEventHandler EndEventHandler EndEventHandler

The EndEventHandler that ends asynchronous processing of the BeginRequest.

state
Object Object Object Object

The associated state to add to the asynchronous BeginRequest.

AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler) AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler)

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

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

Parameters

Applies to