UrlRoutingModule.PostMapRequestHandler Method (HttpContextBase)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

Assigns the HTTP handler for the current request to the context.

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

[ObsoleteAttribute("This method is obsolete. Override the Init method to use the PostMapRequestHandler event.")]
public virtual void PostMapRequestHandler(
	HttpContextBase context


Type: System.Web.HttpContextBase

Encapsulates all HTTP-specific information about an individual HTTP request.

Exception Condition

The RouteData.RouteHandler property for the route is null.

The PostMapRequestHandler method is called when the PostMapRequestHandler event is raised.

.NET Framework
Available since 3.5
Return to top