Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NClientServerTechnology Class / RegisterImageHttpHandler Method
The HTTP handler to register.

In This Topic
    RegisterImageHttpHandler Method
    In This Topic
    Registers an HTTP handler is the web.config file under the configuration section system.web/httpHandlers.
    Protected Function RegisterImageHttpHandler( _
       ByVal Action As System.Web.Configuration.HttpHandlerAction _
    ) As System.Boolean
    Dim instance As NClientServerTechnology
    Dim Action As System.Web.Configuration.HttpHandlerAction
    Dim value As System.Boolean
    value = instance.RegisterImageHttpHandler(Action)
    protected System.bool RegisterImageHttpHandler( 
       System.Web.Configuration.HttpHandlerAction Action


    The HTTP handler to register.

    Return Value

    True if the HTTP handler was registered successfully, false if the method fails to obtain an IWebApplication object from the site of the page or fails to obtain a Configuration object from the web application.
    Does not check if the handler has been already registered. Please use the IsHttpHandlerRegistered method of the NClientServerTechnology class to determine if the HTTP handler exists in the web.config file.

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also