PageHandlerFactory.GetHandler(HttpContext, String, String, String) メソッド

定義

要求されたリソースを処理する IHttpHandler インターフェイスのインスタンスを返します。

public:
 virtual System::Web::IHttpHandler ^ GetHandler(System::Web::HttpContext ^ context, System::String ^ requestType, System::String ^ virtualPath, System::String ^ path);
public virtual System.Web.IHttpHandler GetHandler(System.Web.HttpContext context, string requestType, string virtualPath, string path);
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 Overridable Function GetHandler (context As HttpContext, requestType As String, virtualPath As String, path As String) As IHttpHandler

パラメーター

context
HttpContext

HTTP 要求の処理に使用される組み込みサーバー オブジェクト (Request、Response、Session、Server など) への参照を提供する HttpContext クラスのインスタンス。

requestType
String

クライアントが使用する HTTP データ転送メソッド (GET または POST)。

virtualPath
String

要求されたリソースへの仮想パス。

path
String

要求されたリソースへの PhysicalApplicationPath プロパティ。

返品

要求を処理する新しい IHttpHandler 。それ以外の場合は null

実装

注釈

GetHandler メソッドは、ASP.NET ランタイムによって呼び出され、IHttpHandler インターフェイスまたは null のいずれかの有効なインスタンスを返します。

適用対象

こちらもご覧ください