This documentation is archived and is not being maintained.

HttpApplication.MapRequestHandler Event

This event 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)

public event EventHandler MapRequestHandler
/** @event */
public void add_MapRequestHandler (EventHandler value)

/** @event */
public void remove_MapRequestHandler (EventHandler value)

In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.

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 The .NET Framework 3.5 Architecture.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: