Upravit

Sdílet prostřednictvím


XmlSchemaImporter.ImportMembersMapping Method

Definition

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

Overloads

ImportMembersMapping(XmlQualifiedName)

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

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

ImportMembersMapping(XmlQualifiedName[])

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.

ImportMembersMapping(String, String, SoapSchemaMember[])

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.

ImportMembersMapping(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 element parts of a literal-use SOAP message defined in a WSDL document.

ImportMembersMapping(XmlQualifiedName)

Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs

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

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

public:
 System::Xml::Serialization::XmlMembersMapping ^ ImportMembersMapping(System::Xml::XmlQualifiedName ^ name);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (System.Xml.XmlQualifiedName name);
member this.ImportMembersMapping : System.Xml.XmlQualifiedName -> System.Xml.Serialization.XmlMembersMapping
Public Function ImportMembersMapping (name As XmlQualifiedName) As XmlMembersMapping

Parameters

name
XmlQualifiedName

An XmlQualifiedName that specifies the name of the message part.

Returns

The .NET Framework type mapping for a WSDL message definition containing a single element part.

Remarks

The ImportMembersMapping method of the XmlSchemaImporter class 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. This overload is used when a WSDL message is wrapped within a single part element.

Applies to

ImportMembersMapping(XmlQualifiedName[])

Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs

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

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

public:
 System::Xml::Serialization::XmlMembersMapping ^ ImportMembersMapping(cli::array <System::Xml::XmlQualifiedName ^> ^ names);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (System.Xml.XmlQualifiedName[] names);
member this.ImportMembersMapping : System.Xml.XmlQualifiedName[] -> System.Xml.Serialization.XmlMembersMapping
Public Function ImportMembersMapping (names As XmlQualifiedName()) As XmlMembersMapping

Parameters

names
XmlQualifiedName[]

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

Returns

An XmlMembersMapping that represents the .NET Framework type mappings for the element parts of a WSDL message definition.

Remarks

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.

Applies to

ImportMembersMapping(String, String, SoapSchemaMember[])

Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs

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

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

public:
 System::Xml::Serialization::XmlMembersMapping ^ ImportMembersMapping(System::String ^ name, System::String ^ ns, cli::array <System::Xml::Serialization::SoapSchemaMember ^> ^ members);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string name, string? ns, System.Xml.Serialization.SoapSchemaMember[] members);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (string name, string ns, System.Xml.Serialization.SoapSchemaMember[] members);
member this.ImportMembersMapping : string * string * System.Xml.Serialization.SoapSchemaMember[] -> System.Xml.Serialization.XmlMembersMapping
Public Function ImportMembersMapping (name As String, ns As String, members As SoapSchemaMember()) As XmlMembersMapping

Parameters

name
String

The name of the element for which to generate a mapping.

ns
String

The namespace of the element for which to generate a mapping.

members
SoapSchemaMember[]

An array of SoapSchemaMember instances that specifies the members of the element for which to generate a mapping.

Returns

A XmlMembersMapping that contains type mapping information.

Applies to

ImportMembersMapping(XmlQualifiedName[], Type, Boolean)

Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs

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

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

public:
 System::Xml::Serialization::XmlMembersMapping ^ ImportMembersMapping(cli::array <System::Xml::XmlQualifiedName ^> ^ names, Type ^ baseType, bool baseTypeCanBeIndirect);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (System.Xml.XmlQualifiedName[] names, Type? baseType, bool baseTypeCanBeIndirect);
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping (System.Xml.XmlQualifiedName[] names, Type baseType, bool baseTypeCanBeIndirect);
member this.ImportMembersMapping : System.Xml.XmlQualifiedName[] * Type * bool -> System.Xml.Serialization.XmlMembersMapping
Public Function ImportMembersMapping (names As XmlQualifiedName(), baseType As Type, baseTypeCanBeIndirect As Boolean) As XmlMembersMapping

Parameters

names
XmlQualifiedName[]

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

baseType
Type

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

baseTypeCanBeIndirect
Boolean

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

Returns

The .NET Framework type mappings for the element parts of a WSDL message definition.

Remarks

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.

Applies to