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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product 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
)

Parameters

names
Type: System.Xml.XmlQualifiedName[]

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

baseType
Type: System.Type

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

baseTypeCanBeIndirect
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
Available since 1.1
Return to top
Show: