Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SoapCodeExporter Class

This API 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 SOAP-encoded message parts defined in a WSDL document.

System.Object
  System.Xml.Serialization.CodeExporter
    System.Xml.Serialization.SoapCodeExporter

Namespace:  System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)
public class SoapCodeExporter : CodeExporter

The SoapCodeExporter type exposes the following members.

  NameDescription
Public methodSoapCodeExporter(CodeNamespace)Initializes a new instance of the SoapCodeExporter class, assuming no code compile unit.
Public methodSoapCodeExporter(CodeNamespace, CodeCompileUnit)Initializes a new instance of the SoapCodeExporter class, specifying a code compile unit parameter in addition to a namespace parameter.
Public methodSoapCodeExporter(CodeNamespace, CodeCompileUnit, CodeGenerationOptions)Initializes a new instance of the SoapCodeExporter class, specifying a code namespace, a code compile unit, and code generation options.
Public methodSoapCodeExporter(CodeNamespace, CodeCompileUnit, CodeGenerationOptions, Hashtable)Infrastructure. Initializes a new instance of the SoapCodeExporter class, specifying a code namespace, a code compile unit, code generation options, and mappings.
Public methodSoapCodeExporter(CodeNamespace, CodeCompileUnit, CodeDomProvider, CodeGenerationOptions, Hashtable)Initializes a new instance of the SoapCodeExporter class, specifying a code namespace, a code compile unit, a code generator, code generation options, and mappings.
Top
  NameDescription
Public propertyIncludeMetadataGets a collection of code attribute metadata that is included when the code is exported. (Inherited from CodeExporter.)
Top
  NameDescription
Public methodAddMappingMetadata(CodeAttributeDeclarationCollection, XmlMemberMapping)Add a SoapElementAttribute declaration to a method parameter or return value corresponding to a part element of a SOAP message definition in a WSDL document.
Public methodAddMappingMetadata(CodeAttributeDeclarationCollection, XmlMemberMapping, Boolean)Adds a SoapElementAttribute declaration to a method parameter or return value that corresponds to a part element of a SOAP message definition in a WSDL document.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExportMembersMappingGenerates a .NET Framework type, plus attribute declarations, for each of the parts that belong to a SOAP message definition in a WSDL document.
Public methodExportTypeMappingGenerates a .NET Framework type, plus attribute declarations, for a SOAP header.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

The SoapCodeExporter class is used by the Web Services Description Language Tool (Wsdl.exe) and the ServiceDescriptionImporter class while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document. Instead of using SoapCodeExporter directly, use Wsdl.exe.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.