Export (0) Print
Expand All

XmlSchemaImporter.ImportMembersMapping Method (XmlQualifiedName[], Type, Boolean)

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

Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document.

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

public XmlMembersMapping ImportMembersMapping(
	XmlQualifiedName[] names,
	Type baseType,
	bool baseTypeCanBeIndirect


Type: System.Xml.XmlQualifiedName[]

An array of type XmlQualifiedName that specifies the names of the message parts.

Type: System.Type

A base type for all .NET Framework types that are generated to correspond to message parts.

Type: System.Boolean

true to indicate that the types corresponding to message parts can indirectly inherit from the base type; otherwise, false.

Return Value

Type: System.Xml.Serialization.XmlMembersMapping
The .NET Framework type mappings for the element parts of a WSDL message definition.

The ImportMembersMapping method is used by the Wsdl.exe tool 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 or Xsd.exe.

The XmlSchemaImporter class is used only when a WSDL document specifies literal use. The value of the names parameter contains the qualified names of the parts elements under a message definition in a WSDL document.

This method does not account for the part elements' types.

.NET Framework

Supported in: 4.5.2, 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 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.

© 2014 Microsoft