WCFBuildProvider::GenerateCode Method (AssemblyBuilder^)

 

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

Namespace:   System.Web.Compilation
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
virtual void GenerateCode(
	AssemblyBuilder^ assemblyBuilder
) override

Parameters

assemblyBuilder
Type: System.Web.Compilation::AssemblyBuilder^

An instance of the AssemblyBuilder object that the generated proxy code must be added to. This instance is provided by ASP.NET at run time.

This method searches for .svcmap files in the Web application root directory. If files are found, the method generates the source code of a proxy class for the related services into the specified assemblyBuilder.

Notes to Inheritors:

Typically, this method parses the .svcmap mapping files and adds the generated source code to the specified AssemblyBuilder object. You can contribute source code to the assembly in the form of a TextWriter object or a CodeDOM graph.

For more information, see BuildProvider.

.NET Framework
Available since 3.5
Return to top
Show: