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 类的实例提供用于为 HTTP 请求提供服务的内部服务器对象(如 RequestResponseSessionServer)的引用。

verb
String

客户端使用的 HTTP 数据传输方法(GETPOST)。

url
String

所请求资源的 RawUrl

filePath
String

所请求资源的 PhysicalApplicationPath

返回

处理该请求的新 HttpRemotingHandler

实现

注解

有关当前方法的详细信息,请参阅 IHttpHandlerFactory.GetHandler

适用于