Export (0) Print
Expand All

ServiceBuildProvider Class

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 Windows Communication Foundation (WCF) implementation of BuildProvider.


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

public sealed class ServiceBuildProvider : BuildProvider

The ServiceBuildProvider type exposes the following members.

Public methodServiceBuildProviderInfrastructure. Initializes a new instance of the ServiceBuildProvider class.

Public propertyCodeCompilerTypeInfrastructure. Represents the compiler type used by a build provider to generate source code for a custom file type. (Overrides BuildProvider.CodeCompilerType.)
Protected propertyVirtualPathRepresents the file to be built by this build provider implementation. (Inherited from BuildProvider.)
Public propertyVirtualPathDependenciesInfrastructure. Represents a collection of virtual paths that must be built before the build provider generates code. (Overrides BuildProvider.VirtualPathDependencies.)

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGenerateCodeInfrastructure. 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).)
Protected methodGetCodeCompileUnitRepresents the container for the generated CodeDOM graph. (Inherited from BuildProvider.)
Public methodGetCustomStringInfrastructure. Generates a string to be persisted in the compiled assembly. (Overrides BuildProvider.GetCustomString(CompilerResults).)
Public methodGetGeneratedTypeReturns a type generated by the build provider from the virtual path. (Inherited from BuildProvider.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetResultFlagsInfrastructure. Returns a value that indicates actions required when a virtual path is built. (Overrides BuildProvider.GetResultFlags(CompilerResults).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodProcessCompileErrorsWhen 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.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

.NET Framework

Supported in: 4.6, 4.5, 4

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