Export (0) Print
Expand All

XmlCodeExporter Class

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

Generates types and attribute declarations from internal type mapping information for XML schema element declarations.

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

public class XmlCodeExporter : CodeExporter
public class XmlCodeExporter extends CodeExporter
public class XmlCodeExporter extends CodeExporter

The XmlCodeExporter class generates .NET Framework types or attribute declarations from internal mappings to .NET Framework types. These internal mappings are generated by the XmlSchemaImporter class for elements defined in an XSD document or as parts in a Web Services Description Language (WSDL) document. XmlCodeExporter is not used directly; it is used with the Web Services Description Language tool (Wsdl.exe) or the XML Schema Definition tool (Xsd.exe).

Wsdl.exe uses the types or attribute declarations that are generated by XmlCodeExporter and the internal mappings generated by the XmlSchemaImporter class to generate client proxy classes or abstract server classes from a WSDL document. Wsdl.exe uses XmlCodeExporter and the ServiceDescriptionImporter class when a WSDL document specifies:

  • Literal use, indicating that the contents of SOAP message parameters and return values (or request and response documents) are literally specified with XML schema definitions.

  • Non-SOAP implementations of Web services using the HTTP-GET and HTTP-POST operations.

  • Xsd.exe uses XmlCodeExporter to generate classes from XML Schema Definition (XSD) documents.

System.Object
   System.Xml.Serialization.CodeExporter
    System.Xml.Serialization.XmlCodeExporter

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft