System.Web.Configuration.HttpHandlerActionCollection.Add Method

Adds an System.Web.Configuration.HttpHandlerAction object to the collection.

Syntax

public void Add (HttpHandlerAction httpHandlerAction)

Parameters

httpHandlerAction
The System.Web.Configuration.HttpHandlerAction object to add to the collection.

Remarks

Before using this method you must create an System.Web.Configuration.HttpHandlerAction object and initialize it with the proper name and type. After that, you can add the object just created to the collection.

Note:

ASP.NET searches for the handler assembly DLL in the application's private Bin directory first, and then it searches in the system assembly cache.

The collection must not already contain an System.Web.Configuration.HttpHandlerAction object with the same HttpHandlerAction.Verb and HttpHandlerAction.Path properties.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0