UrlRoutingModule.PostMapRequestHandler(HttpContextBase) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 方法。