UrlRoutingModule.PostMapRequestHandler Method (HttpContextBase)
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Web.Routing
Assembly: System.Web (in System.Web.dll)
Return to top
Assigns the HTTP handler for the current request to the context.
Assembly: System.Web (in System.Web.dll)
<ObsoleteAttribute("This method is obsolete. Override the Init method to use the PostMapRequestHandler event.")> Public Overridable Sub PostMapRequestHandler ( context As HttpContextBase )
Parameters
- context
-
Type:
System.Web.HttpContextBase
Encapsulates all HTTP-specific information about an individual HTTP request.
| Exception | Condition |
|---|---|
| InvalidOperationException | 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
Available since 3.5
Show: