HttpApplication.AddOnBeginRequestAsync Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request.
AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object) |
Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request. |
AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler) |
Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request. |
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
The BeginEventHandler that starts asynchronous processing of the BeginRequest.
- endHandler
- EndEventHandler
The EndEventHandler that ends asynchronous processing of the BeginRequest.
- state
- Object
The associated state to add to the asynchronous BeginRequest.
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 |
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
The BeginEventHandler that starts asynchronous processing of the BeginRequest.
The EndEventHandler that ends asynchronous processing of the BeginRequest.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 1.1, 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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: