BuildProvider Class

Represents a build provider that compiles custom resource files of a particular file type and generates code during compilation.

Syntax

class BuildProvider : CollectionElement  

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the BuildProvider class.

Name Description
Extension A read-only string value that specifies a resource file extension (such as ".aspx" or ".ascx") that is compiled by the build provider specified in the Type property. The key property.
Type A read/write string value that contains the type of the build provider that compiles resource files that have the file extension specified in the Extension property. The string is a comma-delimited list that contains the fully qualified type name followed by the assembly information (for example, Corp.Net.Provider, Corp, Version=1.0.5000.0, Culture=neutral, PublicKeyToken="00000000000000000"). If you do not specify a string value, the property will contain a null reference.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the BuildProviders array property of the BuildProviderSettings class.

Inheritance Hierarchy

CollectionElement

BuildProvider

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

System.Web.Configuration.CompilationSection.BuildProviders
BuildProviderSettings Class
CollectionElement Class
CompilationSection Class