Op Englesch liesen Editéieren

Deelen iwwer


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.

C#
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping(System.Xml.XmlQualifiedName name);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

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.

C#
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping(System.Xml.XmlQualifiedName[] names);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

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.

C#
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping(string name, string? ns, System.Xml.Serialization.SoapSchemaMember[] members);
C#
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping(string name, string ns, System.Xml.Serialization.SoapSchemaMember[] members);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

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.

C#
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping(System.Xml.XmlQualifiedName[] names, Type? baseType, bool baseTypeCanBeIndirect);
C#
public System.Xml.Serialization.XmlMembersMapping ImportMembersMapping(System.Xml.XmlQualifiedName[] names, Type baseType, bool baseTypeCanBeIndirect);

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

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1