HttpModuleAction.Type Property
.NET Framework (current version)
Gets or sets the module type.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("type", IsRequired = true, DefaultValue = "")] public string Type { get; set; }
Property Value
Type: System.StringA comma-separated list containing the module type name and the assembly information.
To find the assembly defined by the Type, ASP.NET searches for the assembly DLL first in the application's private \bin directory, and then in the system assembly cache.
The following code example shows how to access the Type property.
// Get the modules collection. HttpModuleActionCollection httpModules2 = httpModulesSection.Modules; string typeFound = "typeName not found."; // Find the module with the specified type. foreach (HttpModuleAction currentModule in httpModules2) { if (currentModule.Type == "typeName") typeFound = "typeName found."; }
.NET Framework
Available since 2.0
Available since 2.0
Show: