SoapCodeExporter Constructor (CodeNamespace^, CodeCompileUnit^)

 

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

Initializes a new instance of the SoapCodeExporter class, specifying a code compile unit parameter in addition to a namespace parameter.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public:
SoapCodeExporter(
	CodeNamespace^ codeNamespace,
	CodeCompileUnit^ codeCompileUnit
)

Parameters

codeNamespace
Type: System.CodeDom::CodeNamespace^

A CodeNamespace that specifies the namespace of the types to generate.

codeCompileUnit
Type: System.CodeDom::CodeCompileUnit^

A CodeCompileUnit that identifies the program graph container to which used assembly references are automatically added.

Instead of directly creating an instance of the SoapCodeExporter class, use the Wsdl.exe tool.

.NET Framework
Available since 1.1
Return to top
Show: