Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlReflectionImporter.ImportMembersMapping Method (String, String, XmlReflectionMember[], Boolean)

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

Generates internal type mappings for information from a Web service method.

Namespace:  System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)
public XmlMembersMapping ImportMembersMapping(
	string elementName,
	string ns,
	XmlReflectionMember[] members,
	bool hasWrapperElement


Type: System.String
An XML element name produced from the Web service method.
Type: System.String
An XML element namespace produced from the Web service method.
Type: System.Xml.Serialization.XmlReflectionMember[]
An array of XmlReflectionMember objects that contain .NET Framework code entities that belong to a Web service method.
Type: System.Boolean
true if elements that correspond to Web Services Description Language (WSDL) message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false.

Return Value

Type: System.Xml.Serialization.XmlMembersMapping
An XmlMembersMapping with mappings to the element parts of a WSDL message definition.

The ImportMembersMapping method is called while initializing a Web service or client, or reflecting a Web service. It is not necessary to call it directly.

The XmlReflectionMember array parameter can consist of any one of the following:

  • Web service method input parameters.

  • Web service method output parameters, plus the return type, if not void, at index 0.

  • SOAP input headers.

  • SOAP output headers.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.