HttpApplication.AddOnMapRequestHandlerAsync Method

Definition

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

Overloads

AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)

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

AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)

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

Remarks

AddOnMapRequestHandlerAsync is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)

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

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

Parameters

bh
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the MapRequestHandler.

eh
EndEventHandler

The EndEventHandler that ends asynchronous processing of the MapRequestHandler.

Remarks

AddOnMapRequestHandlerAsync is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to

AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)

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

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

Parameters

beginHandler
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the MapRequestHandler.

endHandler
EndEventHandler

The EndEventHandler that ends asynchronous processing of the MapRequestHandler.

state
Object

The associated state to add to the asynchronous MapRequestHandler.

Applies to