HttpContextBase.RemapHandler(IHttpHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, specifies a handler for the request.
public:
virtual void RemapHandler(System::Web::IHttpHandler ^ handler);
public virtual void RemapHandler (System.Web.IHttpHandler handler);
abstract member RemapHandler : System.Web.IHttpHandler -> unit
override this.RemapHandler : System.Web.IHttpHandler -> unit
Public Overridable Sub RemapHandler (handler As IHttpHandler)
Parameters
- handler
- IHttpHandler
The object that should process the request.
Exceptions
A derived type fails to implement this method.
Remarks
If you set handler
to null
, the default handler is used to process the request. You can set handler
to either an asynchronous handler or to an synchronous handler. The handler must implement the IHttpHandler interface.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.