Export (0) Print
Expand All

HttpHandlerAction.Type Property

Gets or sets the HttpHandlerAction type.

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

[ConfigurationPropertyAttribute("type", IsRequired = true)]
public string Type { get; set; }

Property Value

Type: System.String
The HttpHandlerAction type.

The Type property is a comma-separated class/assembly combination consisting of version, culture, and public-key tokens.


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 following code example shows how to access the Type property.

// Change the Type for the HttpHandlerAction.
httpHandler.Type = 
    "Samples.Aspnet.SystemWebConfiguration.Calculator, CalculatorHandler";

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft