UrlRoutingModule.PostMapRequestHandler(HttpContextBase) 方法

定义

注意

This method is obsolete. Override the Init method to use the PostMapRequestHandler event.

将当前请求的 HTTP 处理程序分配到上下文。

C#
public virtual void PostMapRequestHandler(System.Web.HttpContextBase context);
C#
[System.Obsolete("This method is obsolete. Override the Init method to use the PostMapRequestHandler event.")]
public virtual void PostMapRequestHandler(System.Web.HttpContextBase context);

参数

context
HttpContextBase

封装有关个别 HTTP 请求的所有 HTTP 特定的信息。

属性

例外

该路由的 RouteHandler 属性为 null

注解

在引发 PostMapRequestHandler 事件时调用 PostMapRequestHandler 方法。

适用于

产品 版本 (已过时)
.NET Framework 3.5 (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)

另请参阅