Editare

Partajați prin


HttpRemotingHandlerFactory.GetHandler Method

Definition

Returns an instance of the HttpRemotingHandler class.

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

Parameters

context
HttpContext

An instance of the HttpContext class that provides references to intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.

verb
String

The HTTP data transfer method (GET or POST) that the client uses.

url
String

The RawUrl of the requested resource.

filePath
String

The PhysicalApplicationPath to the requested resource.

Returns

A new HttpRemotingHandler that processes the request.

Implements

Remarks

For more information about the current method, see IHttpHandlerFactory.GetHandler.

Applies to