HttpModuleActionCollection.Add Method (HttpModuleAction)

 

Adds an HttpModuleAction object to the collection.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

member Add : 
        httpModule:HttpModuleAction -> unit

Parameters

httpModule
Type: System.Web.Configuration.HttpModuleAction

The HttpModuleAction module to add to the collection.

Exception Condition
ConfigurationException

An attempt was made to add an HttpModuleAction object that already exists in the collection.

Adds an HttpModuleAction object to the collection.

The following example shows how to create an HttpModuleAction object and add it to the collection.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: