System.Xml.Serialization.SoapSchemaImporter.ImportDerivedTypeMapping Method

Generates internal type mapping information for the type of a SOAP-encoded element part defined in a WSDL document where a base type is specified.

Syntax

public XmlTypeMapping ImportDerivedTypeMapping (System.Xml.XmlQualifiedName name, Type baseType, bool baseTypeCanBeIndirect)

Parameters

name
An System.Xml.XmlQualifiedName that specifies the name of an element's type for which a .NET Framework type is being generated.
baseType
A base type for the .NET Framework type being generated.
baseTypeCanBeIndirect
true to indicate that the type being generated may indirectly inherit from the base type; otherwise, false.

Returns

The .NET Framework type mapping information for a derived type corresponding to a WSDL message part.

Remarks

The SoapSchemaImporter.ImportDerivedTypeMapping(System.Xml.XmlQualifiedName, Type, bool) method of the System.Xml.Serialization.SoapSchemaImporter class is used by the Web Services Description Language Tool (Wsdl.exe) while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document. Instead of calling this method directly, use Wsdl.exe.

The System.Xml.Serialization.SoapSchemaImporter class is used only when a WSDL document specifies SOAP encoding, as described in Section 5 of the SOAP 1.1 specification.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0