.NET Framework Class Library
HttpApplication..::.MapRequestHandler Event

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Occurs when the handler is selected to respond to the request.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)
Syntax

Visual Basic (Declaration)
Public Event MapRequestHandler As EventHandler
Visual Basic (Usage)
Dim instance As HttpApplication
Dim handler As EventHandler

AddHandler instance.MapRequestHandler, handler
C#
public event EventHandler MapRequestHandler
Visual C++
public:
 event EventHandler^ MapRequestHandler {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
JScript
JScript does not support events.
Remarks

The MapRequestHandler event is used by the ASP.NET infrastructure to determine the request handler for the current request. For more information, see How to: Register HTTP Handlers.

For more information about how to handle events, see Consuming Events.

MapRequestHandler is introduced in the .NET Framework version 3.5. For more information, see .NET Framework 3.5 Architecture.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1
See Also

Reference

Tags :


Page view tracker