UrlRoutingModule.PostMapRequestHandler(HttpContextBase) 方法

定义

注意

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

将当前请求的 HTTP 处理程序分配到上下文。Assigns the HTTP handler for the current request to the context.

public:
 virtual void PostMapRequestHandler(System::Web::HttpContextBase ^ context);
public virtual void PostMapRequestHandler (System.Web.HttpContextBase context);
[System.Obsolete("This method is obsolete. Override the Init method to use the PostMapRequestHandler event.")]
public virtual void PostMapRequestHandler (System.Web.HttpContextBase context);
abstract member PostMapRequestHandler : System.Web.HttpContextBase -> unit
override this.PostMapRequestHandler : System.Web.HttpContextBase -> unit
[<System.Obsolete("This method is obsolete. Override the Init method to use the PostMapRequestHandler event.")>]
abstract member PostMapRequestHandler : System.Web.HttpContextBase -> unit
override this.PostMapRequestHandler : System.Web.HttpContextBase -> unit
Public Overridable Sub PostMapRequestHandler (context As HttpContextBase)

参数

context
HttpContextBase

封装有关个别 HTTP 请求的所有 HTTP 特定的信息。Encapsulates all HTTP-specific information about an individual HTTP request.

属性

例外

该路由的 RouteHandler 属性为 nullThe RouteHandler property for the route is null.

注解

在引发 PostMapRequestHandler 事件时调用 PostMapRequestHandler 方法。The PostMapRequestHandler method is called when the PostMapRequestHandler event is raised.

适用于