Breyta

Deila með


WCFBuildProvider Class

Definition

Generates proxy class code for Windows Communication Foundation (WCF) services.

public ref class WCFBuildProvider : System::Web::Compilation::BuildProvider
public class WCFBuildProvider : System.Web.Compilation.BuildProvider
[System.Security.SecurityCritical]
public class WCFBuildProvider : System.Web.Compilation.BuildProvider
type WCFBuildProvider = class
    inherit BuildProvider
[<System.Security.SecurityCritical>]
type WCFBuildProvider = class
    inherit BuildProvider
Public Class WCFBuildProvider
Inherits BuildProvider
Inheritance
WCFBuildProvider
Attributes

Remarks

The WCFBuildProvider uses mapping files (.svcmap) at the root level of the Web application that contains WCF service references. The mapping files specify the services for which proxy class source code must be generated. The generated proxy class is then compiled with the other resources during the Web application compilation phase.

The inherited VirtualPath property is internally defined and points to the Web application root directory where the .svcmap files reside.

Constructors

WCFBuildProvider()

Initializes a new instance of the WCFBuildProvider class.

Properties

CodeCompilerType

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

(Inherited from BuildProvider)
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

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

(Inherited from BuildProvider)

Methods

Equals(Object)

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

(Inherited from Object)
GenerateCode(AssemblyBuilder)

Generates the service proxy class source code and adds it to the specified assembly builder.

GetCodeCompileUnit(IDictionary)

Represents the container for the generated CodeDOM graph.

(Inherited from BuildProvider)
GetCustomString(CompilerResults)

Generates a string to be persisted in the compiled assembly.

(Inherited from BuildProvider)
GetDefaultCompilerType()

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

(Inherited from BuildProvider)
GetDefaultCompilerTypeForLanguage(String)

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

(Inherited from BuildProvider)
GetGeneratedType(CompilerResults)

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

(Inherited from BuildProvider)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetResultFlags(CompilerResults)

Returns a value indicating actions required when a virtual path is built.

(Inherited from BuildProvider)
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(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()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also