Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Type Property
Collapse the table of content
Expand the table of content

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