XmlReflectionImporter::ImportMembersMapping Method (String^, String^, array<XmlReflectionMember^>^, Boolean)

 

This API supports the product 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,
	array<XmlReflectionMember^>^ members,
	bool hasWrapperElement
)

Parameters

elementName
Type: System::String^

An XML element name produced from the Web service method.

ns
Type: System::String^

An XML element namespace produced from the Web service method.

members
Type: array<System.Xml.Serialization::XmlReflectionMember^>^

An array of XmlReflectionMember objects that contain .NET Framework code entities that belong to a Web service method.

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