ServiceBuildProvider ServiceBuildProvider ServiceBuildProvider ServiceBuildProvider Class


Defines a set of properties and methods for generating source code within the ASP.NET build environment. This class is the Windows Communication Foundation (WCF) implementation of BuildProvider.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class ServiceBuildProvider sealed : System::Web::Compilation::BuildProvider
public sealed class ServiceBuildProvider : System.Web.Compilation.BuildProvider
type ServiceBuildProvider = class
    inherit BuildProvider
Public NotInheritable Class ServiceBuildProvider
Inherits BuildProvider


ServiceBuildProvider() ServiceBuildProvider() ServiceBuildProvider() ServiceBuildProvider()

Initializes a new instance of the ServiceBuildProvider class.


CodeCompilerType CodeCompilerType CodeCompilerType CodeCompilerType

Represents the compiler type used by a build provider to generate source code for a custom file type.

ReferencedAssemblies ReferencedAssemblies ReferencedAssemblies ReferencedAssemblies

Represents the assemblies to compile with the source generated by the build provider.

(Inherited from BuildProvider)
VirtualPath VirtualPath VirtualPath VirtualPath

Represents the file to be built by this build provider implementation.

(Inherited from BuildProvider)
VirtualPathDependencies VirtualPathDependencies VirtualPathDependencies VirtualPathDependencies

Represents a collection of virtual paths that must be built before the build provider generates code.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GenerateCode(AssemblyBuilder) GenerateCode(AssemblyBuilder) GenerateCode(AssemblyBuilder) GenerateCode(AssemblyBuilder)

Generates source code for the virtual path of the build provider, and adds the source code to a specified assembly builder.

GetCodeCompileUnit(IDictionary) GetCodeCompileUnit(IDictionary) GetCodeCompileUnit(IDictionary) GetCodeCompileUnit(IDictionary)

Represents the container for the generated CodeDOM graph.

(Inherited from BuildProvider)
GetCustomString(CompilerResults) GetCustomString(CompilerResults) GetCustomString(CompilerResults) GetCustomString(CompilerResults)

Generates a string to be persisted in the compiled assembly.

GetDefaultCompilerType() GetDefaultCompilerType() GetDefaultCompilerType() GetDefaultCompilerType()

Returns the compiler settings for the default language in the application.

(Inherited from BuildProvider)
GetDefaultCompilerTypeForLanguage(String) GetDefaultCompilerTypeForLanguage(String) GetDefaultCompilerTypeForLanguage(String) GetDefaultCompilerTypeForLanguage(String)

Returns the compiler settings for the build provider based on the specified language.

(Inherited from BuildProvider)
GetGeneratedType(CompilerResults) GetGeneratedType(CompilerResults) GetGeneratedType(CompilerResults) GetGeneratedType(CompilerResults)

Returns a type generated by the build provider from the virtual path.

(Inherited from BuildProvider)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetResultFlags(CompilerResults) GetResultFlags(CompilerResults) GetResultFlags(CompilerResults) GetResultFlags(CompilerResults)

Returns a value that indicates actions required when a virtual path is built.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OpenReader() OpenReader() OpenReader() OpenReader()

Opens a text reader for reading from the virtual path of the current build provider object.

(Inherited from BuildProvider)
OpenReader(String) OpenReader(String) OpenReader(String) OpenReader(String)

Opens a text reader for reading from a specified virtual path.

(Inherited from BuildProvider)
OpenStream() OpenStream() OpenStream() OpenStream()

Opens a stream for reading the virtual path of the current build provider object.

(Inherited from BuildProvider)
OpenStream(String) OpenStream(String) OpenStream(String) OpenStream(String)

Opens a stream for reading from a specified virtual path.

(Inherited from BuildProvider)
ProcessCompileErrors(CompilerResults) ProcessCompileErrors(CompilerResults) ProcessCompileErrors(CompilerResults) ProcessCompileErrors(CompilerResults)

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() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to