共用方式為


UrlRoutingModule.PostMapRequestHandler(HttpContextBase) 方法

定義

警告

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

將目前要求的 HTTP 處理常式指派給內容。

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 特定資訊。

屬性

例外狀況

路由的 RouteHandler 屬性為 null

備註

引發 PostMapRequestHandler 事件時,會呼叫 PostMapRequestHandler 方法。

適用於

另請參閱