SoapSchemaImporter.ImportDerivedTypeMapping Method

Definition

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.

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

public:
 System::Xml::Serialization::XmlTypeMapping ^ ImportDerivedTypeMapping(System::Xml::XmlQualifiedName ^ name, Type ^ baseType, bool baseTypeCanBeIndirect);
public System.Xml.Serialization.XmlTypeMapping ImportDerivedTypeMapping (System.Xml.XmlQualifiedName name, Type baseType, bool baseTypeCanBeIndirect);
member this.ImportDerivedTypeMapping : System.Xml.XmlQualifiedName * Type * bool -> System.Xml.Serialization.XmlTypeMapping
Public Function ImportDerivedTypeMapping (name As XmlQualifiedName, baseType As Type, baseTypeCanBeIndirect As Boolean) As XmlTypeMapping

Parameters

name
XmlQualifiedName

An XmlQualifiedName that specifies the name of an element's type for which a .NET Framework type is being generated.

baseType
Type

A base type for the .NET Framework type being generated.

baseTypeCanBeIndirect
Boolean

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 ImportDerivedTypeMapping method of the 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 SoapSchemaImporter class is used only when a WSDL document specifies SOAP encoding, as described in Section 5 of the SOAP 1.1 specification.

Applies to