This documentation is archived and is not being maintained.

HttpModuleAction.HttpModuleAction Constructor

This constructor supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the HttpModuleAction class using the passed parameters.

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

public HttpModuleAction (
	string name,
	string type
public HttpModuleAction (
	String name, 
	String type
public function HttpModuleAction (
	name : String, 
	type : String
Not applicable.



The module name.


A comma-separated list containing the module type name and the assembly information.

The module name is an alias you can use to associate event handlers with the module events. ASP.NET searches for the assembly DLL first in the application's private \bin directory and then in the Global Assembly Cache (GAC).

The following code example shows how to create an HttpModuleAction object.

// Initialize the module name and type properties.
newModuleAction.Name = "ModuleName";
newModuleAction.Type = "ModuleType";

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0