UrlRoutingHandler.ProcessRequest UrlRoutingHandler.ProcessRequest UrlRoutingHandler.ProcessRequest UrlRoutingHandler.ProcessRequest Method

定義

處理與路徑相符的 HTTP 要求。Processes an HTTP request that matches a route.

多載

ProcessRequest(HttpContext) ProcessRequest(HttpContext) ProcessRequest(HttpContext)

處理與路徑相符的 HTTP 要求。Processes an HTTP request that matches a route.

ProcessRequest(HttpContextBase) ProcessRequest(HttpContextBase) ProcessRequest(HttpContextBase) ProcessRequest(HttpContextBase)

處理與路徑相符的 HTTP 要求。Processes an HTTP request that matches a route.

ProcessRequest(HttpContext) ProcessRequest(HttpContext) ProcessRequest(HttpContext)

處理與路徑相符的 HTTP 要求。Processes an HTTP request that matches a route.

protected:
 virtual void ProcessRequest(System::Web::HttpContext ^ httpContext);
protected virtual void ProcessRequest (System.Web.HttpContext httpContext);
abstract member ProcessRequest : System.Web.HttpContext -> unit
override this.ProcessRequest : System.Web.HttpContext -> unit

參數

httpContext
HttpContext HttpContext HttpContext HttpContext

物件,提供內建伺服器物件 (例如 RequestResponseSessionServer) 的參考。An object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server).

實作

例外狀況

要求不符合任何路徑。The request does not match any route.

沒有為路徑定義任何處理常式。No handler is defined for the route.

另請參閱

ProcessRequest(HttpContextBase) ProcessRequest(HttpContextBase) ProcessRequest(HttpContextBase) ProcessRequest(HttpContextBase)

處理與路徑相符的 HTTP 要求。Processes an HTTP request that matches a route.

protected:
 virtual void ProcessRequest(System::Web::HttpContextBase ^ httpContext);
protected virtual void ProcessRequest (System.Web.HttpContextBase httpContext);
abstract member ProcessRequest : System.Web.HttpContextBase -> unit
override this.ProcessRequest : System.Web.HttpContextBase -> unit
Protected Overridable Sub ProcessRequest (httpContext As HttpContextBase)

參數

httpContext
HttpContextBase HttpContextBase HttpContextBase HttpContextBase

物件,提供內建伺服器物件 (例如 RequestResponseSessionServer) 的參考。An object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server).

例外狀況

要求不符合任何路徑。The request does not match any route.

沒有為路徑定義任何處理常式。No handler is defined for the route.

另請參閱

適用於