HttpHandlersSection.Handlers Property
.NET Framework (current version)
Gets the HttpHandlerActionCollection collection of HttpHandlerAction objects contained by the HttpHandlersSection object.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("", IsDefaultCollection = true)] public HttpHandlerActionCollection Handlers { get; }
Property Value
Type: System.Web.Configuration.HttpHandlerActionCollectionAn HttpHandlerActionCollection that contains the HttpHandlerAction objects, or handlers.
The Handlers property collection returned by this method does not refer to any actual element in the underlying configuration file. It is a System.Web.Configuration construct that allows easy access to the handlers it contains. This is a common pattern for handling the elements of a configuration file.
The following code example shows how to access the HttpHandlerAction handlers.
.NET Framework
Available since 2.0
Available since 2.0
Show: