This documentation is archived and is not being maintained.
ServiceBuildProvider Class
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Defines a set of properties and methods for generating source code within the ASP.NET build environment. This class is the implementation of BuildProvider.
System::Object
System.Web.Compilation::BuildProvider
System.ServiceModel.Activation::ServiceBuildProvider
System.Web.Compilation::BuildProvider
System.ServiceModel.Activation::ServiceBuildProvider
Assembly: System.ServiceModel.Activation (in System.ServiceModel.Activation.dll)
The ServiceBuildProvider type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ServiceBuildProvider | Infrastructure. Initializes a new instance of the ServiceBuildProvider class. |
| Name | Description | |
|---|---|---|
![]() | CodeCompilerType | Infrastructure. Represents the compiler type used by a build provider to generate source code for a custom file type. (Overrides BuildProvider::CodeCompilerType.) |
![]() | ReferencedAssemblies | Represents the assemblies to compile with the source generated by the build provider. (Inherited from BuildProvider.) |
![]() | VirtualPath | Represents the file to be built by this build provider implementation. (Inherited from BuildProvider.) |
![]() | VirtualPathDependencies | Infrastructure. Represents a collection of virtual paths that must be built before the build provider generates code. (Overrides BuildProvider::VirtualPathDependencies.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GenerateCode | Infrastructure. Generates source code for the virtual path of the build provider, and adds the source code to a specified assembly builder. (Overrides BuildProvider::GenerateCode(AssemblyBuilder).) |
![]() | GetCodeCompileUnit | Represents the container for the generated CodeDOM graph. (Inherited from BuildProvider.) |
![]() | GetCustomString | Infrastructure. Generates a string to be persisted in the compiled assembly. (Overrides BuildProvider::GetCustomString(CompilerResults).) |
![]() | GetDefaultCompilerType | Returns the compiler settings for the default language in the application. (Inherited from BuildProvider.) |
![]() | GetDefaultCompilerTypeForLanguage | Returns the compiler settings for the build provider based on the specified language. (Inherited from BuildProvider.) |
![]() | GetGeneratedType | Returns a type generated by the build provider from the virtual path. (Inherited from BuildProvider.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetResultFlags | Infrastructure. Returns a value that indicates actions required when a virtual path is built. (Overrides BuildProvider::GetResultFlags(CompilerResults).) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OpenReader() | Opens a text reader for reading from the virtual path of the current build provider object. (Inherited from BuildProvider.) |
![]() | OpenReader(String) | Opens a text reader for reading from a specified virtual path. (Inherited from BuildProvider.) |
![]() | OpenStream() | Opens a stream for reading the virtual path of the current build provider object. (Inherited from BuildProvider.) |
![]() | OpenStream(String) | Opens a stream for reading from a specified virtual path. (Inherited from BuildProvider.) |
![]() | ProcessCompileErrors | When overridden in a derived class, enables you to review compiler error messages so that you can modify them to provide more information. (Inherited from BuildProvider.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
