HttpHandlerActionCollection Class
.NET Framework 2.0
Represents a collection of HttpHandlerAction elements. This class cannot be inherited.
Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The HttpHandlerActionCollection collection type allows access to the HttpHandlerAction elements of the httpHandlers configuration configuration section.
The following code example shows how to use the HttpHandlerActionCollection collection to access the information contained by the httpHandlers section of a configuration file.
// Get the handlers.
System.Web.Configuration.HttpHandlerActionCollection httpHandlers = httpHandlersSection.Handlers;
The following configuration excerpt shows how to specify values declaratively for the httpHandlers section.
<httpHandlers>
<add path="Calculator.custom"
type="Samples.AspNet.SystemWebConfiguration.Calculator, CalculatorHandler"
verb="GET" validate="false" />
</httpHandlers>
System.Object
System.Configuration.ConfigurationElement
System.Configuration.ConfigurationElementCollection
System.Web.Configuration.HttpHandlerActionCollection
System.Configuration.ConfigurationElement
System.Configuration.ConfigurationElementCollection
System.Web.Configuration.HttpHandlerActionCollection
Community Additions
ADD
Show: