WCFBuildProvider.GenerateCode(AssemblyBuilder) Method
In this article
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates the service proxy class source code and adds it to the specified assembly builder.
public:
override void GenerateCode(System::Web::Compilation::AssemblyBuilder ^ assemblyBuilder);
public override void GenerateCode(System.Web.Compilation.AssemblyBuilder assemblyBuilder);
override this.GenerateCode : System.Web.Compilation.AssemblyBuilder -> unit
Public Overrides Sub GenerateCode (assemblyBuilder As AssemblyBuilder)
- assemblyBuilder
- 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
.
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.
Applies to
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: