SoapSchemaImporter::ImportDerivedTypeMapping Method (XmlQualifiedName^, Type^, Boolean)

 

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

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.

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

public:
XmlTypeMapping^ ImportDerivedTypeMapping(
	XmlQualifiedName^ name,
	Type^ baseType,
	bool baseTypeCanBeIndirect
)

Parameters

name
Type: System.Xml::XmlQualifiedName^

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

baseType
Type: System::Type^

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

baseTypeCanBeIndirect
Type: System::Boolean

true to indicate that the type being generated may indirectly inherit from the base type; otherwise, false.

Return Value

Type: System.Xml.Serialization::XmlTypeMapping^

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

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.

.NET Framework
Available since 1.1
Return to top
Show: