HttpRemotingHandlerFactory.GetHandler Metoda

Definice

Vrátí instanci HttpRemotingHandler třídy.

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

Parametry

context
HttpContext

Instance HttpContext třídy, která poskytuje odkazy na vnitřní serverové objekty (například Request, Response, Sessiona Server) používané pro služby požadavků HTTP.

verb
String

Metoda přenosu dat HTTP (GET nebo POST), kterou klient používá.

url
String

Požadovaný RawUrl prostředek.

filePath
String

Do PhysicalApplicationPath požadovaného prostředku.

Návraty

Nový HttpRemotingHandler , který požadavek zpracuje.

Implementuje

Poznámky

Další informace o aktuální metodě naleznete v tématu IHttpHandlerFactory.GetHandler.

Platí pro