Share via


BuildProvider Class [IIS 7 and higher]

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

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

BuildProviderSettings Class [IIS 7 and higher]

CollectionElement Class [IIS 7 and higher]

CompilationSection Class [IIS 7 and higher]

CompilationSectionBuildProviders()()()()