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
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.