The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XamlBuildProvider Class

.NET Framework 4.6 and 4.5

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

A build provider for server side XAML (.xamlx) documents.


Namespace:  System.Xaml.Hosting
Assembly:  System.Xaml.Hosting (in System.Xaml.Hosting.dll)

public class XamlBuildProvider : BuildProvider

The XamlBuildProvider type exposes the following members.

Public methodXamlBuildProviderInfrastructure. Initializes a new instance of the XamlBuildProvider class.

Public propertyCodeCompilerTypeRepresents the compiler type used by a build provider to generate source code for a custom file type. (Inherited from BuildProvider.)
Protected propertyReferencedAssembliesRepresents the assemblies to compile with the source generated by the build provider. (Inherited from BuildProvider.)
Protected propertyVirtualPathRepresents the file to be built by this build provider implementation. (Inherited from BuildProvider.)
Public propertyVirtualPathDependenciesRepresents a collection of virtual paths that must be built before the build provider generates code. (Inherited from BuildProvider.)

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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. (Inherited from BuildProvider.)
Protected methodGetDefaultCompilerTypeReturns the compiler settings for the default language in the application. (Inherited from BuildProvider.)
Protected methodGetDefaultCompilerTypeForLanguageReturns the compiler settings for the build provider based on the specified language. (Inherited from BuildProvider.)
Public methodGetGeneratedTypeInfrastructure. Returns a type generated by the build provider from the virtual path. (Overrides BuildProvider.GetGeneratedType(CompilerResults).)
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.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOpenReader()Opens a text reader for reading from the virtual path of the current build provider object. (Inherited from BuildProvider.)
Protected methodOpenReader(String)Opens a text reader for reading from a specified virtual path. (Inherited from BuildProvider.)
Protected methodOpenStream()Opens a stream for reading the virtual path of the current build provider object. (Inherited from BuildProvider.)
Protected methodOpenStream(String)Opens a stream for reading from a specified virtual path. (Inherited from BuildProvider.)
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.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft