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
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.