WebServiceHandlerFactory.GetHandler 方法

定义

返回一个 IHttpHandler 实例。

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 数据传输方法(GET 或 POST)。

url
String

请求的资源的原始 URL。

filePath
String

所请求资源的文件系统路径。

返回

实例 IHttpHandler

实现

适用于