Share via


HttpRemotingHandlerFactory.GetHandler 方法

定義

傳回 HttpRemotingHandler 類別的執行個體。

public:
 virtual System::Web::IHttpHandler ^ GetHandler(System::Web::HttpContext ^ context, System::String ^ verb, System::String ^ url, System::String ^ filePath);
public System.Web.IHttpHandler GetHandler (System.Web.HttpContext context, string verb, string url, string filePath);
abstract member GetHandler : System.Web.HttpContext * string * string * string -> System.Web.IHttpHandler
override this.GetHandler : System.Web.HttpContext * string * string * string -> System.Web.IHttpHandler
Public Function GetHandler (context As HttpContext, verb As String, url As String, filePath As String) As IHttpHandler

參數

context
HttpContext

HttpContext 類別的執行個體,提供對內建伺服器物件 (例如,RequestResponseSessionServer) 的參考,用以服務 HTTP 要求。

verb
String

用戶端使用的 HTTP 資料傳輸方法 (GETPOST)。

url
String

要求資源的 RawUrl

filePath
String

要求資源的 PhysicalApplicationPath

傳回

處理要求的新 HttpRemotingHandler

實作

備註

如需目前方法的詳細資訊,請參閱 IHttpHandlerFactory.GetHandler

適用於