ServiceBuildProvider Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product 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 Windows Communication Foundation (WCF) implementation of BuildProvider.

Namespace:   System.ServiceModel.Activation
Assembly:  System.ServiceModel.Activation (in System.ServiceModel.Activation.dll)

System.Object
  System.Web.Compilation.BuildProvider
    System.ServiceModel.Activation.ServiceBuildProvider

<SecurityCriticalAttribute(SecurityCriticalScope.Everything)>
<ServiceActivationBuildProviderAttribute>
Public NotInheritable Class ServiceBuildProvider
	Inherits BuildProvider

NameDescription
System_CAPS_pubmethodServiceBuildProvider()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the ServiceBuildProvider class.

NameDescription
System_CAPS_pubpropertyCodeCompilerType

This API supports the product infrastructure and is not intended to be used directly from your code. Represents the compiler type used by a build provider to generate source code for a custom file type.(Overrides BuildProvider.CodeCompilerType.)

System_CAPS_protpropertyVirtualPath

Represents the file to be built by this build provider implementation.(Inherited from BuildProvider.)

System_CAPS_pubpropertyVirtualPathDependencies

This API supports the product infrastructure and is not intended to be used directly from your code. Represents a collection of virtual paths that must be built before the build provider generates code.(Overrides BuildProvider.VirtualPathDependencies.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGenerateCode(AssemblyBuilder)

This API supports the product infrastructure and is not intended to be used directly from your code. 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).)

System_CAPS_protmethodGetCodeCompileUnit(IDictionary)

Represents the container for the generated CodeDOM graph.(Inherited from BuildProvider.)

System_CAPS_pubmethodGetCustomString(CompilerResults)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates a string to be persisted in the compiled assembly.(Overrides BuildProvider.GetCustomString(CompilerResults).)

System_CAPS_pubmethodGetGeneratedType(CompilerResults)

Returns a type generated by the build provider from the virtual path.(Inherited from BuildProvider.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetResultFlags(CompilerResults)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a value that indicates actions required when a virtual path is built.(Overrides BuildProvider.GetResultFlags(CompilerResults).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodProcessCompileErrors(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.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: