TraceHandler.ProcessRequest(HttpContext) TraceHandler.ProcessRequest(HttpContext) TraceHandler.ProcessRequest(HttpContext) TraceHandler.ProcessRequest(HttpContext) Method

定義

處理 HTTP 要求。Processes an HTTP request.

protected:
 void ProcessRequest(System::Web::HttpContext ^ context);
protected void ProcessRequest (System.Web.HttpContext context);
member this.ProcessRequest : System.Web.HttpContext -> unit
Protected Sub ProcessRequest (context As HttpContext)

參數

context
HttpContext HttpContext HttpContext HttpContext

HttpContext 物件,提供對目前 RequestResponse 執行個體的存取。An HttpContext object that provides access to the current Request and Response instances.

實作

備註

ProcessRequest方法會HttpResponse寫入包含所有目前追蹤資訊的。The ProcessRequest method writes an HttpResponse that includes all current trace information. 追蹤資訊包括protected對、 ShowRequestsShowDetails ShowVersionDetails方法的呼叫。The trace information includes calls to the protectedShowDetails, ShowRequests, and ShowVersionDetails methods.

類別會執行方法,ProcessRequest以委派給方法的實作為。 ProcessRequest TraceHandlerThe TraceHandler class implements the ProcessRequest method to delegate to the implementation of the ProcessRequest method. 如果您擴充類別TraceHandler , 請執行您自己ProcessRequest的方法來顯示不同的追蹤資訊。If you extend the TraceHandler class, implement your own ProcessRequest method to display different tracing information.

適用於